2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Allowed to forward voice messages without full user info.

This commit is contained in:
23rd
2022-07-31 09:46:33 +03:00
committed by John Preston
parent c47e951519
commit e7b3416da8
3 changed files with 15 additions and 5 deletions

View File

@@ -52,7 +52,7 @@ enum class UserDataFlag {
Self = (1 << 13),
Premium = (1 << 14),
CanReceiveGifts = (1 << 15),
CanReceiveVoices = (1 << 16),
VoiceMessagesForbidden = (1 << 16),
};
inline constexpr bool is_flag_type(UserDataFlag) { return true; };
using UserDataFlags = base::flags<UserDataFlag>;