From a849c34f5676ac5ad1731abd2cb5eb048ffbda5e Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Wed, 2 Jan 2019 09:32:22 +0100 Subject: [PATCH] clear pending view intent when processing onNewIntent() --- .../java/eu/siacs/conversations/ui/ConversationsActivity.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/eu/siacs/conversations/ui/ConversationsActivity.java b/src/main/java/eu/siacs/conversations/ui/ConversationsActivity.java index 6c61f3027..937406d24 100644 --- a/src/main/java/eu/siacs/conversations/ui/ConversationsActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/ConversationsActivity.java @@ -529,6 +529,7 @@ public class ConversationsActivity extends XmppActivity implements OnConversatio protected void onNewIntent(final Intent intent) { if (isViewOrShareIntent(intent)) { if (xmppConnectionService != null) { + clearPendingViewIntent(); processViewIntent(intent); } else { pendingViewIntent.push(intent);