diff options
author | (quasar) nebula <towerofnix@gmail.com> | 2021-04-23 11:44:58 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-05-16 22:00:45 -0300 |
commit | b64d923daa2aad9ca848dd8ff57c016a51ac5383 (patch) | |
tree | 992905b8123d6b8589daae1e206ce4f45e444b8c /backend.js | |
parent | b47f2968742b77378791f171c819957546b4fc7d (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 86da76e..817ce1d 100644 --- a/backend.js +++ b/backend.js @@ -889,15 +889,15 @@ export default 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) } } |