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

View file

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