mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Pay button and messageMediaInvoice supported.
New button type keyboardButtonBuy just shows a box with information. WebDocument photo type is not supported yet, 'photo' is ignored. Also HistoryMediaPtr is now implemented as a std::unique_ptr wrapper.
This commit is contained in:
@@ -813,6 +813,8 @@ HistoryItem *History::createItem(const MTPMessage &msg, bool applyServiceAction,
|
||||
default: badMedia = MediaCheckResult::Unsupported; break;
|
||||
}
|
||||
break;
|
||||
case mtpc_messageMediaInvoice:
|
||||
break;
|
||||
case mtpc_messageMediaUnsupported:
|
||||
default: badMedia = MediaCheckResult::Unsupported; break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user