Make update_message_max_reply_media_timestamp const.
This commit is contained in:
parent
bc618b855e
commit
1886bcf850
@ -27068,7 +27068,7 @@ int32 MessagesManager::get_message_max_media_timestamp(const Message *m) {
|
||||
}
|
||||
|
||||
void MessagesManager::update_message_max_reply_media_timestamp(const Dialog *d, Message *m,
|
||||
bool need_send_update_message_content) {
|
||||
bool need_send_update_message_content) const {
|
||||
if (td_->auth_manager_->is_bot()) {
|
||||
return;
|
||||
}
|
||||
|
@ -2327,7 +2327,8 @@ class MessagesManager final : public Actor {
|
||||
bool update_message_content(DialogId dialog_id, Message *old_message, unique_ptr<MessageContent> new_content,
|
||||
bool need_merge_files, bool is_message_in_dialog, bool &is_content_changed);
|
||||
|
||||
void update_message_max_reply_media_timestamp(const Dialog *d, Message *m, bool need_send_update_message_content);
|
||||
void update_message_max_reply_media_timestamp(const Dialog *d, Message *m,
|
||||
bool need_send_update_message_content) const;
|
||||
|
||||
void update_message_max_own_media_timestamp(const Dialog *d, Message *m);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user