Improve sending of quick reply voice messages to users that forbidden that.
This commit is contained in:
parent
298d16c150
commit
90d4e3a6d3
@ -1425,7 +1425,8 @@ Result<vector<QuickReplyManager::QuickReplyMessageContent>> QuickReplyManager::g
|
||||
auto can_send_status = can_send_message_content(dialog_id, content.get(), false, true, td_);
|
||||
if (can_send_status.is_error()) {
|
||||
LOG(INFO) << "Can't send " << message->message_id << ": " << can_send_status.message();
|
||||
continue;
|
||||
// if we skip the message, the sending will fail anyway with MESSAGE_IDS_MISMATCH
|
||||
// continue;
|
||||
}
|
||||
|
||||
auto disable_web_page_preview = message->disable_web_page_preview &&
|
||||
|
Loading…
Reference in New Issue
Block a user