diff options
author | (quasar) nebula <towerofnix@gmail.com> | 2021-04-23 11:44:58 -0300 |
---|---|---|
committer | (quasar) nebula <towerofnix@gmail.com> | 2021-04-23 11:44:58 -0300 |
commit | 533f2898871cc5c1a548308537fbcd4f8d4bbdf5 (patch) | |
tree | 68194e3ce3c8f14c928583709bda0bf3eef9efaf /backend.js | |
parent | 45f804fef3766e3183610b93ac3d1ffb89f08408 (diff) |
identifier per socket connection
Diffstat (limited to 'backend.js')
-rw-r--r-- | backend.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/backend.js b/backend.js index ddfb000..13287ec 100644 --- a/backend.js +++ b/backend.js @@ -859,16 +859,16 @@ class Backend extends EventEmitter { this.emit('log message', messageInfo) } - loadPartyGrouplike(partyGrouplike) { - this.emit('got party grouplike', partyGrouplike) + loadPartyGrouplike(socketId, partyGrouplike) { + this.emit('got party grouplike', socketId, partyGrouplike) } shareWithParty(item) { this.emit('share with party', item) } - partyGrouplikeUpdated(partyGrouplike) { - this.emit('party grouplike updated', partyGrouplike) + partyGrouplikeUpdated(socketId, partyGrouplike) { + this.emit('party grouplike updated', socketId, partyGrouplike) } } |