mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Refactored ApiWrap::editMedia.
- Slightly refactored checkEntitiesAndViewsUpdate. - Slightly refactored HistoryMessage.
This commit is contained in:
@@ -139,7 +139,6 @@ namespace App {
|
||||
auto entities = m.has_entities()
|
||||
? TextUtilities::EntitiesFromMTP(m.ventities.v)
|
||||
: EntitiesInText();
|
||||
const auto media = m.has_media() ? &m.vmedia : nullptr;
|
||||
existing->setText({ text, entities });
|
||||
existing->updateSentMedia(m.has_media() ? &m.vmedia : nullptr);
|
||||
existing->updateReplyMarkup(m.has_reply_markup()
|
||||
|
Reference in New Issue
Block a user