From 533f2898871cc5c1a548308537fbcd4f8d4bbdf5 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Fri, 23 Apr 2021 11:44:58 -0300 Subject: identifier per socket connection --- ui.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ui.js') diff --git a/ui.js b/ui.js index fb0916e..aaf776c 100644 --- a/ui.js +++ b/ui.js @@ -561,11 +561,11 @@ class AppElement extends FocusElement { this.log.newLogMessage(messageInfo) } - handleGotPartyGrouplike(partyGrouplike) { - this.newPartyTab(partyGrouplike) + handleGotPartyGrouplike(socketId, partyGrouplike) { + this.newPartyTab(socketId, partyGrouplike) } - handlePartyGrouplikeUpdated(partyGrouplike) { + handlePartyGrouplikeUpdated(socketId, partyGrouplike) { for (const grouplikeListing of this.tabber.tabberElements) { if (grouplikeListing.grouplike === partyGrouplike) { grouplikeListing.loadGrouplike(partyGrouplike, false) @@ -1579,7 +1579,7 @@ class AppElement extends FocusElement { }) } - newPartyTab(partyGrouplike) { + newPartyTab(socketId, partyGrouplike) { const listing = this.newGrouplikeListing() listing.loadGrouplike(partyGrouplike) } -- cgit 1.3.0-6-gf8a5