Open the most recent conversation on load
This commit is contained in:
parent
1023ea1732
commit
3a00e49791
1 changed files with 3 additions and 0 deletions
|
@ -68,5 +68,8 @@ textsecure.registerOnLoadFunction(function() {
|
||||||
} else {
|
} else {
|
||||||
textsecure.storage.putUnencrypted("unreadCount", 0);
|
textsecure.storage.putUnencrypted("unreadCount", 0);
|
||||||
extension.navigator.setBadgeText("");
|
extension.navigator.setBadgeText("");
|
||||||
|
if (Whisper.Threads.length) {
|
||||||
|
Whisper.Threads.at(0).trigger('render');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue