Open the most recent conversation on load

This commit is contained in:
lilia 2014-10-20 17:49:41 -07:00
parent 1023ea1732
commit 3a00e49791

View file

@ -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');
}
}
});