mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-26 21:28:40 +00:00
Fix lint
// FREEBIE
This commit is contained in:
@@ -275,14 +275,15 @@
|
||||
},
|
||||
|
||||
sendMessage: function(e) {
|
||||
var toast;
|
||||
if (extension.expired()) {
|
||||
var toast = new Whisper.ExpiredToast();
|
||||
toast = new Whisper.ExpiredToast();
|
||||
toast.$el.insertAfter(this.$el);
|
||||
toast.render();
|
||||
return;
|
||||
}
|
||||
if (this.model.isPrivate() && storage.isBlocked(this.model.id)) {
|
||||
var toast = new Whisper.BlockedToast();
|
||||
toast = new Whisper.BlockedToast();
|
||||
toast.$el.insertAfter(this.$el);
|
||||
toast.render();
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user