lrf402788946 4 rokov pred
rodič
commit
dd79fe31cc
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      src/components/chat.vue

+ 1 - 1
src/components/chat.vue

@@ -97,7 +97,7 @@ export default {
       });
     },
     isSender(data) {
-      return this.user.uid == data.sender_id;
+      return this.user.id !== data.sender_id;
     },
   },
   watch: {