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': {