|
@@ -231,7 +231,7 @@ export const useWebSocketStore = defineStore("webSocketStore", {
|
|
|
fromUsername: walletStore.username,
|
|
|
from: walletStore.account,
|
|
|
};
|
|
|
- if([1,2].includes(message.messageType)){
|
|
|
+ if([1,2].includes(data.messageType)){
|
|
|
this.messages.push({
|
|
|
...data,
|
|
|
toUsername: data.friendUsername
|