aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-07-14 00:13:23 -0500
committerCraig Jennings <c@cjennings.net>2026-07-14 00:13:23 -0500
commit5bc5ef7ac0853f60e4863505a6c18e77b3e383e5 (patch)
treef7fab186da84170eecf3d06e3508c906c35099af
parent1296cc45ce892a3398289ea47ed869f11966ae49 (diff)
downloaddotemacs-5bc5ef7ac0853f60e4863505a6c18e77b3e383e5.tar.gz
dotemacs-5bc5ef7ac0853f60e4863505a6c18e77b3e383e5.zip
feat(telega): enable desktop notifications
Incoming Telegram messages were invisible unless their buffer was on screen; telega ships notifications but leaves the mode off. telega-notifications-mode now turns on in the package's :config, so it activates when telega loads and respects telega's own per-chat mutes. Routing through a shared messenger notifier stays with the unification task.
-rw-r--r--modules/telega-config.el9
1 files changed, 8 insertions, 1 deletions
diff --git a/modules/telega-config.el b/modules/telega-config.el
index 0ae5116b..acc9e482 100644
--- a/modules/telega-config.el
+++ b/modules/telega-config.el
@@ -54,7 +54,14 @@
:ensure nil
:commands (telega)
:custom
- (telega-use-docker t))
+ (telega-use-docker t)
+ :config
+ ;; Without this, incoming Telegram messages are invisible unless their
+ ;; buffer is on screen -- telega ships desktop notifications but leaves
+ ;; the mode off by default. Runs at telega load (M-x telega), respects
+ ;; telega's own per-chat mute settings. From the 2026-06 config audit;
+ ;; routing through a shared messenger notifier is the unification task.
+ (telega-notifications-mode 1))
(defun cj/telega ()
"Launch telega.el with a helpful message when it isn't installed yet.