From 3a00e497918955996be7e82504efa867772e2b5d Mon Sep 17 00:00:00 2001 From: lilia Date: Mon, 20 Oct 2014 17:49:41 -0700 Subject: [PATCH] Open the most recent conversation on load --- js/popup.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/popup.js b/js/popup.js index ba83d5a319..78a1760a0a 100644 --- a/js/popup.js +++ b/js/popup.js @@ -68,5 +68,8 @@ textsecure.registerOnLoadFunction(function() { } else { textsecure.storage.putUnencrypted("unreadCount", 0); extension.navigator.setBadgeText(""); + if (Whisper.Threads.length) { + Whisper.Threads.at(0).trigger('render'); + } } });