mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Added general replies to admin log messages.
This commit is contained in:
@@ -374,6 +374,8 @@ ReplyFields ReplyFieldsFromMTP(
|
||||
auto result = ReplyFields();
|
||||
if (const auto peer = data.vreply_to_peer_id()) {
|
||||
result.externalPeerId = peerFromMTP(*peer);
|
||||
} else if (item->isAdminLogEntry()) {
|
||||
result.externalPeerId = item->history()->peer->id;
|
||||
}
|
||||
const auto owner = &item->history()->owner();
|
||||
if (const auto id = data.vreply_to_msg_id().value_or_empty()) {
|
||||
|
||||
Reference in New Issue
Block a user