Wrong reconnect message when inside a breakot room

When inside a breakot room and mediaReconnectionDialog is present on Safari the message is wrong.

Note: is happening on all browsers

The way in which the title and description in mediaRecoonectDialog are added is unstable.

Findings:

const switchingByAction = lastDispatchedActionType === breakoutSlice.actions.switchedRoom.type;
  const switchingByRecentClose = typeof breakoutClosedAt === 'number' && isWithinSwitchWindow(breakoutClosedAt);
  const isSwitchingRooms = switchingByAction || switchingByRecentClose;

Acceptence criteria

  • Right title and description are displayed when moving to breakot room and when media is recoonecting
Edited by Slavcho Cvetanovski