mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Update API scheme on layer 166.
This commit is contained in:
@@ -1127,8 +1127,8 @@ void History::applyServiceChanges(
|
||||
}, [&](const MTPDmessageActionPinMessage &data) {
|
||||
if (replyTo) {
|
||||
replyTo->match([&](const MTPDmessageReplyHeader &data) {
|
||||
const auto id = data.vreply_to_msg_id().v;
|
||||
if (item) {
|
||||
const auto id = data.vreply_to_msg_id().value_or_empty();
|
||||
if (id && item) {
|
||||
session().storage().add(Storage::SharedMediaAddSlice(
|
||||
peer->id,
|
||||
MsgId(0),
|
||||
|
Reference in New Issue
Block a user