Fix TODO in can_resend_message.
GitOrigin-RevId: 87830112e4e9f711774615d0038271892958a191
This commit is contained in:
parent
7ffd9ad7c9
commit
d6b87bd121
@ -19433,9 +19433,11 @@ bool MessagesManager::can_resend_message(const Message *m) {
|
||||
// via bot message
|
||||
if (content_type == MessageContentType::Game &&
|
||||
!get_message_content_game_bot_user_id(m->content.get()).is_valid()) {
|
||||
// TODO implement resending via_bot messages other than games
|
||||
return false;
|
||||
}
|
||||
|
||||
// resend via_bot message as an ordinary message if error code is 429
|
||||
// TODO support other error codes
|
||||
}
|
||||
|
||||
if (content_type == MessageContentType::ChatSetTtl || content_type == MessageContentType::ScreenshotTaken) {
|
||||
|
Reference in New Issue
Block a user