open latest conversation from notification

Daniel Gultsch created

Change summary

src/eu/siacs/conversations/utils/UIHelper.java | 3 +++
1 file changed, 3 insertions(+)

Detailed changes

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) {