From 0c0caa422d62fdf89f96b44e53162a78cf5b10d7 Mon Sep 17 00:00:00 2001 From: MacRimi Date: Wed, 25 Mar 2026 13:10:36 +0100 Subject: [PATCH] Update notification service --- AppImage/components/notification-settings.tsx | 42 ++++++++++++------- AppImage/scripts/notification_channels.py | 2 +- 2 files changed, 29 insertions(+), 15 deletions(-) diff --git a/AppImage/components/notification-settings.tsx b/AppImage/components/notification-settings.tsx index 4ff838b7..406677fb 100644 --- a/AppImage/components/notification-settings.tsx +++ b/AppImage/components/notification-settings.tsx @@ -1105,10 +1105,11 @@ export function NotificationSettings() {
updateChannel("telegram", "bot_token", e.target.value)} + disabled={!editMode} />
updateChannel("telegram", "topic_id", e.target.value)} + disabled={!editMode} />

For supergroups with topics enabled. Leave empty for regular chats.

@@ -1197,10 +1200,11 @@ export function NotificationSettings() {
updateChannel("gotify", "url", e.target.value)} + disabled={!editMode} />
@@ -1208,10 +1212,11 @@ export function NotificationSettings() {
updateChannel("gotify", "token", e.target.value)} + disabled={!editMode} />
updateChannel("email", "port", e.target.value)} + disabled={!editMode} />
@@ -1378,8 +1386,9 @@ export function NotificationSettings() { updateChannel("email", "username", e.target.value)} + disabled={!editMode} />
@@ -1404,10 +1414,11 @@ export function NotificationSettings() {
updateChannel("email", "password", e.target.value)} + disabled={!editMode} />
updateChannel("email", "to_addresses", e.target.value)} + disabled={!editMode} />
updateChannel("email", "subject_prefix", e.target.value)} + disabled={!editMode} />
diff --git a/AppImage/scripts/notification_channels.py b/AppImage/scripts/notification_channels.py index f464b560..53ff059d 100644 --- a/AppImage/scripts/notification_channels.py +++ b/AppImage/scripts/notification_channels.py @@ -874,7 +874,7 @@ class EmailChannel(NotificationChannel): CHANNEL_TYPES = { 'telegram': { 'name': 'Telegram', - 'config_keys': ['bot_token', 'chat_id'], + 'config_keys': ['bot_token', 'chat_id', 'topic_id'], 'class': TelegramChannel, }, 'gotify': {