Fix check for self-destructing messages.
This commit is contained in:
parent
9f4bafc54f
commit
a522085401
1 changed files with 1 additions and 1 deletions
|
|
@ -8853,7 +8853,7 @@ bool Client::need_skip_update_message(int64 chat_id, const object_ptr<td_api::me
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (message->ttl_ > 0 && message->ttl_expires_in_ == 0) {
|
if (message->ttl_ > 0 && message->ttl_expires_in_ == message->ttl_) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue