forked from upstream-mirrors/quik
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) {
|
||||
if (!oldThreads.contains(threadId)) {
|
||||
ConversationPrefsHelper conversationPrefs = new ConversationPrefsHelper(context, threadId);
|
||||
Integer privateNotification = conversationPrefs.getPrivateNotificationsSetting();
|
||||
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 {
|
||||
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