Новый тип вложений - Attachment.CALL с активными звонками
This commit is contained in:
@@ -15,6 +15,8 @@ export const constructLastMessageTextByAttachments = (attachment: string) => {
|
||||
return "$a=File";
|
||||
case AttachmentType.AVATAR:
|
||||
return "$a=Avatar";
|
||||
case AttachmentType.CALL:
|
||||
return "$a=Call";
|
||||
default:
|
||||
return "[Unsupported attachment]";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user