2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

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

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,