mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Mark all types of local history items.
This commit is contained in:
@@ -271,7 +271,7 @@ AdminLog::OwnedItem GenerateCommentItem(
|
||||
using Flag = MTPDmessage::Flag;
|
||||
const auto id = ServerMaxMsgId + (ServerMaxMsgId / 2);
|
||||
const auto flags = Flag::f_entities | Flag::f_from_id | Flag::f_out;
|
||||
const auto clientFlags = MTPDmessage_ClientFlags();
|
||||
const auto clientFlags = MTPDmessage_ClientFlag::f_fake_history_item;
|
||||
const auto replyTo = 0;
|
||||
const auto viaBotId = 0;
|
||||
const auto item = history->owner().makeMessage(
|
||||
@@ -324,7 +324,7 @@ AdminLog::OwnedItem GenerateContactItem(
|
||||
const auto item = history->owner().makeMessage(
|
||||
history,
|
||||
message.c_message(),
|
||||
MTPDmessage_ClientFlags());
|
||||
MTPDmessage_ClientFlag::f_fake_history_item);
|
||||
return AdminLog::OwnedItem(delegate, item);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user