Skip to content

Commit

Permalink
Fix invalid leave messages being sent on logout (#10622)
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottehMax authored Nov 18, 2024
1 parent 7a8ebe8 commit 7d463fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/rooms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1031,7 +1031,7 @@ export abstract class BasicRoom {
const staffIntro = this.getStaffIntroMessage(user);
if (staffIntro) this.sendUser(user, staffIntro);
} else if (!user.named) {
this.reportJoin('l', oldid, user);
this.reportJoin('l', ' ' + oldid, user);
} else {
this.reportJoin('n', user.getIdentityWithStatus(this) + '|' + oldid, user);
}
Expand Down

0 comments on commit 7d463fe

Please sign in to comment.