wkw 1 개월 전
부모
커밋
8df8dfbee6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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(),
       };