Fix isGroupV2 type error
This commit is contained in:
parent
4805226825
commit
906b949c47
1 changed files with 4 additions and 3 deletions
|
@ -654,7 +654,8 @@ export class MessageModel extends window.Backbone.Model<MessageAttributesType> {
|
|||
const conversation = this.getConversation();
|
||||
|
||||
return {
|
||||
groupName: conversation?.isGroupV2()
|
||||
groupName:
|
||||
conversation && isGroupV2(conversation.attributes)
|
||||
? conversation.get('name')
|
||||
: undefined,
|
||||
AccessControlEnum: protobuf.AccessControl.AccessRequired,
|
||||
|
|
Loading…
Reference in a new issue