diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2014-03-12 14:55:23 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2014-03-12 14:55:23 +0100 |
commit | d943e218a4678dcb5cd18233aa58193a855c3010 (patch) | |
tree | 74d58e831141bc1f4b09565347b60d09114d029d /src/eu/siacs/conversations/ui | |
parent | 33f8747b87f790a49ee6f3576132048e8caf806a (diff) |
make conference notificaton optional
Diffstat (limited to 'src/eu/siacs/conversations/ui')
-rw-r--r-- | src/eu/siacs/conversations/ui/ConversationActivity.java | 2 | ||||
-rw-r--r-- | src/eu/siacs/conversations/ui/ConversationFragment.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/eu/siacs/conversations/ui/ConversationActivity.java b/src/eu/siacs/conversations/ui/ConversationActivity.java index 86ba49b9..ad6e6c38 100644 --- a/src/eu/siacs/conversations/ui/ConversationActivity.java +++ b/src/eu/siacs/conversations/ui/ConversationActivity.java @@ -233,7 +233,7 @@ public class ConversationActivity extends XmppActivity { invalidateOptionsMenu(); if (!getSelectedConversation().isRead()) { getSelectedConversation().markRead(); - UIHelper.updateNotification(getApplicationContext(), getConversationList(), false); + UIHelper.updateNotification(getApplicationContext(), getConversationList(), null, false); updateConversationList(); } } diff --git a/src/eu/siacs/conversations/ui/ConversationFragment.java b/src/eu/siacs/conversations/ui/ConversationFragment.java index 3373479a..6fb4a6f8 100644 --- a/src/eu/siacs/conversations/ui/ConversationFragment.java +++ b/src/eu/siacs/conversations/ui/ConversationFragment.java @@ -419,7 +419,7 @@ public class ConversationFragment extends Fragment { if (!activity.shouldPaneBeOpen()) { conversation.markRead(); //TODO update notifications - UIHelper.updateNotification(getActivity(), activity.getConversationList(), false); + UIHelper.updateNotification(getActivity(), activity.getConversationList(), null, false); activity.updateConversationList(); } } |