mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-17 23:34:14 +01:00
Treat replies similarly to mentions for notifications
This commit is contained in:
@@ -97,12 +97,12 @@ export const NOTIFICATION_PROFILE_ID_LENGTH = 16;
|
||||
|
||||
export function shouldNotify({
|
||||
isCall,
|
||||
isMention,
|
||||
isMentionOrReply,
|
||||
conversationId,
|
||||
activeProfile,
|
||||
}: {
|
||||
isCall: boolean;
|
||||
isMention: boolean;
|
||||
isMentionOrReply: boolean;
|
||||
conversationId: string;
|
||||
activeProfile: NotificationProfileType | undefined;
|
||||
}): boolean {
|
||||
@@ -114,7 +114,7 @@ export function shouldNotify({
|
||||
return true;
|
||||
}
|
||||
|
||||
if (isMention && activeProfile.allowAllMentions) {
|
||||
if (isMentionOrReply && activeProfile.allowAllMentions) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user