mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-22 17:38:10 +01:00
Avoid adding empty-string numbers to recipients
This commit is contained in:
@@ -112,6 +112,10 @@ var Whisper = Whisper || {};
|
||||
},
|
||||
|
||||
initNewContact: function() {
|
||||
if (this.new_contact) {
|
||||
this.new_contact.undelegateEvents();
|
||||
this.new_contact.$el.hide();
|
||||
}
|
||||
// Creates a view to display a new contact
|
||||
this.new_contact = new Whisper.ConversationListItemView({
|
||||
el: this.$new_contact,
|
||||
|
||||
Reference in New Issue
Block a user