Merge remote-tracking branch 'remotes/origin/trz/rename' into trz/rebase
This commit is contained in:
commit
e0219ae4ce
1 changed files with 7 additions and 6 deletions
|
@ -64,12 +64,13 @@ public class NotificationService {
|
|||
|
||||
public boolean notify(final Message message) {
|
||||
return (message.getStatus() == Message.STATUS_RECEIVED)
|
||||
&& ConversationsPlusPreferences.showNotification()
|
||||
&& !message.getConversation().isMuted()
|
||||
&& (message.getConversation().getMode() == Conversation.MODE_SINGLE
|
||||
|| ConversationsPlusPreferences.alwaysNotifyInConference()
|
||||
|| wasHighlightedOrPrivate(message)
|
||||
);
|
||||
&& !message.isRead()
|
||||
&& ConversationsPlusPreferences.showNotification()
|
||||
&& !message.getConversation().isMuted()
|
||||
&& (message.getConversation().getMode() == Conversation.MODE_SINGLE
|
||||
|| ConversationsPlusPreferences.alwaysNotifyInConference()
|
||||
|| wasHighlightedOrPrivate(message)
|
||||
);
|
||||
}
|
||||
|
||||
public void notifyPebble(final Message message) {
|
||||
|
|
Loading…
Reference in a new issue