diff --git a/components/uni-im-msg/uni-im-msg.vue b/components/uni-im-msg/uni-im-msg.vue index efff25c532f6aa7d26268de54a27b1d697c66dae..f6bef90e691066c3f3e6d823d400ac8ba21321f0 100644 --- a/components/uni-im-msg/uni-im-msg.vue +++ b/components/uni-im-msg/uni-im-msg.vue @@ -7,7 +7,6 @@ {{ friendlyTime }} - msg.revoke_ing:{{msg.revoke_ing}} @@ -222,11 +221,8 @@ } }, isFromAdmin() { - const { - group_id, - from_uid - } = this.msg - return group_id && this.currentConversation.group_member[from_uid]?.role?.includes('admin') + const conversation = uniIm.conversation.getCached(this.msg.conversation_id) + return conversation.group_id && conversation.group_member[this.msg.from_uid]?.role?.includes('admin') }, mineId() { return uniCloud.getCurrentUserInfo().uid