Various improvements

This commit is contained in:
Ilya Laktyushin
2025-09-22 07:45:25 +04:00
parent a80a706379
commit fb7b93fbdc
15 changed files with 73 additions and 18 deletions

View File

@@ -1380,7 +1380,7 @@ final class VideoChatScreenComponent: Component {
guard !text.string.trimmingCharacters(in: .whitespacesAndNewlines).isEmpty else {
return
}
let entities = generateChatInputTextEntities(text)
let entities = generateTextEntities(text.string, enabledTypes: [.mention, .hashtag, .allUrl], currentEntities: generateChatInputTextEntities(text))
call.sendMessage(text: text.string, entities: entities)
}