Explorar o código

Fix chat rejoined receiving repeated messages

luis %!s(int64=7) %!d(string=hai) anos
pai
achega
d1e4fdf989
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      browser/vue-flow/src/components/chat.vue

+ 2 - 0
browser/vue-flow/src/components/chat.vue

@@ -104,6 +104,8 @@ export default {
     },
 
     sendChatJoin () {
+      // Clear messages here
+      this.events = []
       this.$flowService.chatJoin(this.handle, this.$route.params.sessId)
     },
     sendChatRename () {