mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-04-17 17:42:19 +00:00
Update notification service
This commit is contained in:
@@ -763,8 +763,10 @@ class NotificationManager:
|
||||
ch_title, ch_body = title, body
|
||||
|
||||
# ── Per-channel settings ──
|
||||
# Email defaults to 'detailed' (technical report), others to 'standard'
|
||||
detail_level_key = f'{ch_name}.ai_detail_level'
|
||||
detail_level = self._config.get(detail_level_key, 'standard')
|
||||
default_detail = 'detailed' if ch_name == 'email' else 'standard'
|
||||
detail_level = self._config.get(detail_level_key, default_detail)
|
||||
|
||||
rich_key = f'{ch_name}.rich_format'
|
||||
use_rich_format = self._config.get(rich_key, 'false') == 'true'
|
||||
|
||||
Reference in New Issue
Block a user