chore(tazjin/emacs): Ignore messages from blocked senders in telega

telega actually supports this for group chats, too, which is very
pleasant.

https://zevlg.github.io/telega.el/#client-side-messages-ignoring

Change-Id: I510207c2de19f748359168d460a25aa9c4e45975
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3111
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
This commit is contained in:
Vincent Ambo 2021-05-12 15:17:52 +02:00 committed by tazjin
parent ebf6301941
commit a989a91f9f

View file

@ -206,7 +206,9 @@
(use-package telega (use-package telega
:bind (:map global-map ("s-t" . telega)) :bind (:map global-map ("s-t" . telega))
:config (telega-mode-line-mode 1)) :config
(telega-mode-line-mode 1)
(add-hook 'telega-msg-ignore-predicates 'telega-msg-from-blocked-sender-p))
(use-package terraform-mode) (use-package terraform-mode)
(use-package toml-mode) (use-package toml-mode)