mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-22 13:48:52 +01:00
Small fix for notification privacy option
hide message text & sender at multiple messages too
This commit is contained in:
@@ -618,10 +618,11 @@ public class NotificationManager {
|
|||||||
for (long threadId : threadIds) {
|
for (long threadId : threadIds) {
|
||||||
if (!oldThreads.contains(threadId)) {
|
if (!oldThreads.contains(threadId)) {
|
||||||
ConversationPrefsHelper conversationPrefs = new ConversationPrefsHelper(context, threadId);
|
ConversationPrefsHelper conversationPrefs = new ConversationPrefsHelper(context, threadId);
|
||||||
|
Integer privateNotification = conversationPrefs.getPrivateNotificationsSetting();
|
||||||
if (conversations.get(threadId).size() == 1) {
|
if (conversations.get(threadId).size() == 1) {
|
||||||
singleMessage(context, conversations.get(threadId), threadId, copyBuilder(builder), conversationPrefs, 0);
|
singleMessage(context, conversations.get(threadId), threadId, copyBuilder(builder), conversationPrefs, privateNotification);
|
||||||
} else {
|
} else {
|
||||||
singleSender(context, conversations.get(threadId), threadId, copyBuilder(builder), conversationPrefs, 0);
|
singleSender(context, conversations.get(threadId), threadId, copyBuilder(builder), conversationPrefs, privateNotification);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user