mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 22:25:12 +00:00
Bundle silent and scheduled to Api::SendOptions.
This commit is contained in:
@@ -512,10 +512,10 @@ void Manager::notificationReplied(
|
||||
|
||||
const auto history = system()->session().data().history(peerId);
|
||||
|
||||
auto message = ApiWrap::MessageToSend(history);
|
||||
auto message = Api::MessageToSend(history);
|
||||
message.textWithTags = reply;
|
||||
message.replyTo = (msgId > 0 && !history->peer->isUser()) ? msgId : 0;
|
||||
message.clearDraft = false;
|
||||
message.action.replyTo = (msgId > 0 && !history->peer->isUser()) ? msgId : 0;
|
||||
message.action.clearDraft = false;
|
||||
history->session().api().sendMessage(std::move(message));
|
||||
|
||||
const auto item = history->owner().message(history->channelId(), msgId);
|
||||
|
Reference in New Issue
Block a user