|
@@ -45,7 +45,7 @@ MiddlewareRegistry.register(store => next => action => {
|
45
|
45
|
// Actions that temporarily clear the user preferred state of tile view,
|
46
|
46
|
// then re-set it when needed.
|
47
|
47
|
case PIN_PARTICIPANT: {
|
48
|
|
- const pinnedParticipant = getPinnedParticipant(store.getState());
|
|
48
|
+ const pinnedParticipant = action.participant?.id;
|
49
|
49
|
|
50
|
50
|
if (pinnedParticipant) {
|
51
|
51
|
_storeTileViewStateAndClear(store);
|