lrf402788946 4 anni fa
parent
commit
dd79fe31cc
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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: {