mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-28 03:32:15 -05:00
possible fix for some weird notification bugs
This commit is contained in:
parent
2506ef82df
commit
91aeffae1b
@ -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>();
|
||||||
|
Loading…
Reference in New Issue
Block a user