Closed captain-miao closed 1 month ago
https://github.com/wildfirechat/hm-chat/blob/891e2f117c898592ee42ed78efbd77f26fc443ae/uikit/src/main/ets/pages/conversation/ConversationPage.ets#L808
appendMessage(message: Message) { if (this.messages.findIndex(m => eq(m.messageUid, message.messageUid)) >= 0) { return } this.messages = this.messages.concat(message) this.notifyDataReload(); }
https://github.com/wildfirechat/hm-chat/blob/891e2f117c898592ee42ed78efbd77f26fc443ae/uikit/src/main/ets/pages/conversation/ConversationPage.ets#L808