possible fix for some weird notification bugs

This commit is contained in:
Daniel Gultsch 2014-04-03 23:50:34 +02:00
parent 2506ef82df
commit 91aeffae1b
1 changed files with 3 additions and 3 deletions

View File

@ -187,10 +187,10 @@ public class UIHelper {
if ((currentCon != null) &&(currentCon.getMode() == Conversation.MODE_MULTI)&&(!alwaysNotify)) { if ((currentCon != null) &&(currentCon.getMode() == Conversation.MODE_MULTI)&&(!alwaysNotify)) {
String nick = currentCon.getMucOptions().getNick(); String nick = currentCon.getMucOptions().getNick();
notify = currentCon.getLatestMessage().getBody().contains(nick); notify = currentCon.getLatestMessage().getBody().contains(nick);
if (!notify) { /*if (!notify) {
mNotificationManager.cancel(2342); //mNotificationManager.cancel(2342);
return; return;
} }*/
} }
List<Conversation> unread = new ArrayList<Conversation>(); List<Conversation> unread = new ArrayList<Conversation>();