mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-18 12:05:05 +00:00
fix: Read status not updated in widget popout mode (#5454)
This commit is contained in:
@@ -143,7 +143,7 @@ export default {
|
||||
registerUnreadEvents() {
|
||||
bus.$on(ON_AGENT_MESSAGE_RECEIVED, () => {
|
||||
const { name: routeName } = this.$route;
|
||||
if (this.isWidgetOpen && routeName === 'messages') {
|
||||
if ((this.isWidgetOpen || !this.isIFrame) && routeName === 'messages') {
|
||||
this.$store.dispatch('conversation/setUserLastSeen');
|
||||
}
|
||||
this.setUnreadView();
|
||||
|
||||
Reference in New Issue
Block a user