Fix crash in forwarding video message when can't.

Fixes #25994.
This commit is contained in:
John Preston 2023-03-17 18:12:49 +04:00
parent 2b1ff39798
commit f5f374d933
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ std::optional<QString> RestrictionError(
tr::now,
lt_user,
user->name())
: (restriction == Flag::SendVoiceMessages)
: (restriction == Flag::SendVideoMessages)
? tr::lng_restricted_send_video_messages(
tr::now,
lt_user,