Fix can_set_game_score.
GitOrigin-RevId: 6d4a51af6d9391bec18cad63d9f53bf792dadc3f
This commit is contained in:
parent
b09c7632c1
commit
dfa183a358
@ -17501,7 +17501,7 @@ bool MessagesManager::can_set_game_score(DialogId dialog_id, const Message *m) c
|
||||
if (m->message_id.is_local()) {
|
||||
return false;
|
||||
}
|
||||
if (m->via_bot_user_id.is_valid() && !m->is_outgoing) {
|
||||
if (m->via_bot_user_id.is_valid() && m->via_bot_user_id != td_->contacts_manager_->get_my_id()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user