Skip to content

Commit 2654091

Browse files
author
Mateo Ivankovic
committed
rename usage of session id
1 parent f98448f commit 2654091

File tree

11 files changed

+2716
-2716
lines changed

11 files changed

+2716
-2716
lines changed

server/src/api/boards.go

Lines changed: 604 additions & 604 deletions
Large diffs are not rendered by default.

server/src/api/event_filter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ func (bs *BoardSubscription) participantUpdated(event *realtime.BoardEvent, isMo
199199
if isMod {
200200
// Cache the changes of when a participant got updated
201201
updatedSessions := technical_helper.MapSlice(bs.boardParticipants, func(boardSession *sessions.BoardSession) *sessions.BoardSession {
202-
if boardSession.ID == participantSession.ID {
202+
if boardSession.UserID == participantSession.UserID {
203203
return participantSession
204204
} else {
205205
return boardSession

0 commit comments

Comments
 (0)