From 96be96f9f8a7ccae492f87ac703585bc6ac2e7b1 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Fri, 11 Apr 2014 23:05:45 +0200 Subject: open latest conversation from notification --- src/eu/siacs/conversations/utils/UIHelper.java | 3 +++ 1 file changed, 3 insertions(+) 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) { -- cgit v1.2.3