zevlg/telega.el

Can not switch topics using rootbuf

aragaer opened this issue · 0 comments

Telega Setup

OS: Gentoo Linux
Emacs: GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, X toolkit)
Features: svg ffmpeg
Telega: telega v0.8.240 (TDLib v1.8.24-d79bd4b) (telega-server v0.8.2)
MELPA: 20240214.1600

Current Behavior

Choosing a topic in rootbuf opens the chatbuf centered on some message from that topic but doesn't enable the topic filter. Removing the second argument from telega-topic-goto function call in telega-topic-button-action partially fixes the behavior -- the filter is enabled, but unless the topic filter was already enabled, the chatbuf is again re-focused on the same message as before.

Steps to Reproduce

  1. Use TAB to open the list of topics of a chat with topics
  2. Use RET to choose a topic
  3. Expected result: chat is focused on either end of chat or last unread message and topic filter is enabled. Actual result: chat is focused on some message and topic filter is not enabled.