Skip to content

Commit

Permalink
Use computed decision to use legacy events or not
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewFerr committed Jun 21, 2024
1 parent ed40cfb commit fa7bff2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/matrixrtc/MatrixRTCSession.ts
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,7 @@ export class MatrixRTCSession extends TypedEventEmitter<MatrixRTCSessionEvent, M
this.room.roomId,
EventType.GroupCallMemberPrefix,
newContent,
this.useLegacyMemberEvents
legacy
? localUserId
: `${!this.room.getVersion().match(/^org\.matrix\.msc3779\b/) ? "_" : "" + localUserId}_${localDeviceId}`,
);
Expand Down

0 comments on commit fa7bff2

Please sign in to comment.