wkw há 1 mês atrás
pai
commit
8df8dfbee6
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/stores/modules/webSocketStore.js

+ 1 - 1
src/stores/modules/webSocketStore.js

@@ -337,7 +337,7 @@ export const useWebSocketStore = defineStore("webSocketStore", {
         to: this.toUserInfo.uuid,
         from: walletStore.account,
         ...messageData,
-        fromUsername: walletStore.username,
+        fromUsername: this.toUserInfo.nickname,
         avatar: walletStore.avatar,
         timestamp: Date.now(),
       };