fix(chat): show toolbar on open
This commit is contained in:
parent
c0e9f2b95a
commit
130ab886ee
|
@ -84,6 +84,15 @@ StateListenerRegistry.register(
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
StateListenerRegistry.register(
|
||||||
|
state => state['features/chat'].isOpen,
|
||||||
|
(isOpen, { dispatch }) => {
|
||||||
|
if (typeof APP !== 'undefined' && isOpen) {
|
||||||
|
dispatch(showToolbox());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Registers listener for {@link JitsiConferenceEvents.MESSAGE_RECEIVED} that
|
* Registers listener for {@link JitsiConferenceEvents.MESSAGE_RECEIVED} that
|
||||||
* will perform various chat related activities.
|
* will perform various chat related activities.
|
||||||
|
|
Loading…
Reference in New Issue