Преглед на файлове

Fix chat rejoined receiving repeated messages

luis преди 7 години
родител
ревизия
d1e4fdf989
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  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 () {