diff options
Diffstat (limited to 'src/main/java/eu/siacs/conversations/ui')
-rw-r--r-- | src/main/java/eu/siacs/conversations/ui/ConversationActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java b/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java index c24946fbd..f403d7389 100644 --- a/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java @@ -1325,7 +1325,7 @@ public class ConversationActivity extends XmppActivity Bundle extras = getIntent().getExtras(); if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { - if (extras != null) { + if (extras != null && extras.containsKey("FirstStart")) { FirstStartTime = extras.getLong("FirstStart"); Log.d(Config.LOGTAG, "Get first start time from StartUI: " + FirstStartTime); } |