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

Use !== instead of localeCompare when removing conversation recipients

parent f2fdaf1d
......@@ -75,7 +75,7 @@ app.views.ConversationsForm = Backbone.View.extend({
var diasporaHandle = $"diaspora-handle");
this.conversationRecipients = this.conversationRecipients.filter(function(person) {
return diasporaHandle.localeCompare(person.handle) !== 0;
return diasporaHandle !== person.handle;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment