2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

Send as a channel in HistoryWidget.

This commit is contained in:
John Preston
2021-11-09 19:24:13 +04:00
parent 1bd74fe478
commit 773755d70e
32 changed files with 221 additions and 156 deletions

View File

@@ -195,7 +195,7 @@ void ScheduledMessages::sendNowSimpleMessage(
MTP_message(
MTP_flags(flags),
update.vid(),
peerToMTP(_session->userPeerId()),
peerToMTP(local->from()->id),
peerToMTP(history->peer->id),
MTPMessageFwdHeader(),
MTPlong(), // via_bot_id