mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-28 12:23:31 +01:00
Replace load/decode/index around our own number with helpers
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
var bg = extension.windows.getBackground();
|
||||
|
||||
window.Whisper = window.Whisper || {};
|
||||
if (bg.textsecure.storage.getUnencrypted("number_id") === undefined) {
|
||||
if (bg.textsecure.storage.user.getNumber() === undefined) {
|
||||
window.location = '/options.html';
|
||||
} else {
|
||||
new bg.Whisper.InboxView().$el.prependTo(bg.$('body',document));
|
||||
|
||||
Reference in New Issue
Block a user