Fix messageSendOptions processing.
This commit is contained in:
parent
6c53a61162
commit
703ef13a86
@ -26730,6 +26730,7 @@ Result<MessagesManager::MessageSendOptions> MessagesManager::process_message_sen
|
||||
}
|
||||
result.protect_content = options->protect_content_;
|
||||
TRY_RESULT_ASSIGN(result.schedule_date, get_message_schedule_date(std::move(options->scheduling_state_)));
|
||||
result.sending_id = options->sending_id_;
|
||||
}
|
||||
|
||||
auto dialog_type = dialog_id.get_type();
|
||||
@ -26754,8 +26755,6 @@ Result<MessagesManager::MessageSendOptions> MessagesManager::process_message_sen
|
||||
result.protect_content = false;
|
||||
}
|
||||
|
||||
result.sending_id = options->sending_id_;
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user