diff --git a/src/server/components/social.js b/src/server/components/social.js index 3077b6d0..33213f07 100644 --- a/src/server/components/social.js +++ b/src/server/components/social.js @@ -182,12 +182,8 @@ define([ } // Only add if not yet in party - if (!this.party.find(function (id) { - return id === sourceId; - }) - ) { + if (!this.party.find(f => (id === sourceId))) this.party.push(sourceId); - } this.updatePartyOnThread();