From 4253da99c5a28bd80ef475bb024973352ae20129 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Wed, 18 Mar 2026 21:57:06 +0100 Subject: [PATCH] feat(omemo): suppress redundant `session already exists` messages Removing the UI notification in omemo_start_device_session to reduce noise during /omemo start. The information is still available in the debug logs. And I think for existing sessions its just too much without value. Ref: b20e3f1a --- src/omemo/omemo.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/omemo/omemo.c b/src/omemo/omemo.c index 54dba460..4ba048a3 100644 --- a/src/omemo/omemo.c +++ b/src/omemo/omemo.c @@ -729,17 +729,6 @@ omemo_start_device_session(const char* const jid, uint32_t device_id, } } else { log_debug("[OMEMO] session with %s device %d exists", jid, device_id); - if (omemo_ctx.notifying) { - ProfChatWin* chatwin = wins_get_chat(jid); - if (chatwin) { - win_println((ProfWin*)chatwin, THEME_DEFAULT, "!", "OMEMO session with %s (device %u) already exists.", jid, device_id); - } else { - ProfMucWin* mucwin = wins_get_muc(jid); - if (mucwin) { - win_println((ProfWin*)mucwin, THEME_DEFAULT, "!", "OMEMO session with %s (device %u) already exists.", jid, device_id); - } - } - } } out: