OS: Arch Linux
Emacs: GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, cairo version 1.17.4)
Telega: telega v0.7.70 (TDLib v1.7.7) (telega-server v0.7.13)
Current Behavior
After setting (add-hook 'telega-msg-ignore-predicates #'telega-msg-from-blocked-sender-p), messages sent by blocked users are still shown. Blocking of a user only start to work after I explicitly check the profile of him, and to block multiple users, I have to check the profile of every one of them.
Steps to Reproduce
Block some user/users in Telegram
Set (add-hook 'telega-msg-ignore-predicates #'telega-msg-from-blocked-sender-p)
Start telega, and navigate to a group chat in which some blocked user has sent some messages. Such messages are visible. To hide them, I have to check the profile of such user explicitly, and re-open the current group chat.
Telega Setup
OS: Arch Linux Emacs: GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, cairo version 1.17.4) Telega: telega v0.7.70 (TDLib v1.7.7) (telega-server v0.7.13)
Current Behavior
After setting
(add-hook 'telega-msg-ignore-predicates #'telega-msg-from-blocked-sender-p)
, messages sent by blocked users are still shown. Blocking of a user only start to work after I explicitly check the profile of him, and to block multiple users, I have to check the profile of every one of them.Steps to Reproduce
(add-hook 'telega-msg-ignore-predicates #'telega-msg-from-blocked-sender-p)
Possible Solution
At the start of telega, pull in the list of all blocked users. Related to https://github.com/tdlib/td/issues/1669