Bug 504675 - Notifications for encrypted messages should only fire if the message contains a mention or a notification keyword
Summary: Notifications for encrypted messages should only fire if the message contains...
Status: CONFIRMED
Alias: None
Product: NeoChat
Classification: Applications
Component: General (other bugs)
Version First Reported In: 25.04.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Tobias Fella
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-22 18:58 UTC by Hubert Chathi
Modified: 2025-09-09 09:41 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hubert Chathi 2025-05-22 18:58:12 UTC
SUMMARY

For encrypted messages, notifications should only fire if the message mentions the user, or if it contains a notification keyword.  Users shouldn't be notified for every encrypted message.  Instead, NeoChat should decrypt the message and check if the decrypted contents satisfies one of the notification conditions.

STEPS TO REPRODUCE
1. Be in an encrypted room
2. Receive an encrypted message

OBSERVED RESULT
Get a notification, even though there are no mentions or keywords.

EXPECTED RESULT
Only get notified if the message contains mentions or keywords

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian 12
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION