fix playing inChatSounds

This commit is contained in:
B. Petersen
2024-10-23 20:21:56 +02:00
parent c446440537
commit 8d7078f96f
@@ -386,8 +386,8 @@ public class NotificationCenter {
return;
}
if (playInChatSound && Util.equals(visibleChat, chatData)) {
if (Prefs.isInChatNotifications(context)) {
if (Util.equals(visibleChat, chatData)) {
if (playInChatSound && Prefs.isInChatNotifications(context)) {
InChatSounds.getInstance(context).playIncomingSound();
}
return;