fix: escalation notifications should @mention human on Matrix (#624)
Add MATRIX_MENTION_USER config to project TOML and include a Matrix mention pill in escalation notify_ctx calls so humans get notified even in muted rooms. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
e58e60fe7c
commit
32c336f3df
4 changed files with 16 additions and 8 deletions
|
|
@ -66,6 +66,8 @@ if 'bot_user' in mx:
|
|||
emit('MATRIX_BOT_USER', mx['bot_user'])
|
||||
if 'token_env' in mx:
|
||||
emit('MATRIX_TOKEN_ENV', mx['token_env'])
|
||||
if 'mention_user' in mx:
|
||||
emit('MATRIX_MENTION_USER', mx['mention_user'])
|
||||
|
||||
# [monitoring] section
|
||||
mon = cfg.get('monitoring', {})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue