aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-04-11 23:05:45 +0200
committerDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-04-11 23:05:45 +0200
commit96be96f9f8a7ccae492f87ac703585bc6ac2e7b1 (patch)
tree3da78f05d3dbb6352eb3c4f4441689ce0358ae80
parent259bb446cac55ea7367488dfd63eb2b8a3eb6139 (diff)
open latest conversation from notification
-rw-r--r--src/eu/siacs/conversations/utils/UIHelper.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/eu/siacs/conversations/utils/UIHelper.java b/src/eu/siacs/conversations/utils/UIHelper.java
index 73a0494b..c76040e9 100644
--- a/src/eu/siacs/conversations/utils/UIHelper.java
+++ b/src/eu/siacs/conversations/utils/UIHelper.java
@@ -255,6 +255,9 @@ public class UIHelper {
mBuilder.setContentText(names.toString());
mBuilder.setStyle(style);
}
+ if (currentCon!=null) {
+ targetUuid=currentCon.getUuid();
+ }
if (unread.size() != 0) {
mBuilder.setSmallIcon(R.drawable.notification);
if (notify) {