Commit 2b6465ef authored by Steffen van Bergerem's avatar Steffen van Bergerem Committed by Benjamin Neff
Browse files

Use !== instead of localeCompare when removing conversation recipients

parent f2fdaf1d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -75,7 +75,7 @@ app.views.ConversationsForm = Backbone.View.extend({
    var diasporaHandle = $recipientTagEl.data("diaspora-handle");

    this.conversationRecipients = this.conversationRecipients.filter(function(person) {
      return diasporaHandle.localeCompare(person.handle) !== 0;
      return diasporaHandle !== person.handle;
    });

    this.updateContactIdsListInput();