We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bf3633 commit 8b03b19Copy full SHA for 8b03b19
demo/src/ChatContainer.vue
@@ -338,7 +338,10 @@ export default {
338
fetchMessages({ room, options = {} }) {
339
this.$emit('show-demo-options', false)
340
341
- if (options.reset) this.resetMessages()
+ if (options.reset) {
342
+ this.resetMessages()
343
+ this.roomId = room.roomId
344
+ }
345
346
if (this.endMessages && !this.startMessages)
347
return (this.messagesLoaded = true)
0 commit comments