2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Removed redundant code for old sponsored messages.

This commit is contained in:
23rd
2023-11-15 18:57:43 +03:00
committed by John Preston
parent 0da515abc5
commit fc86bb7a5f
9 changed files with 4 additions and 125 deletions

View File

@@ -311,6 +311,8 @@ enum class MessageFlag : uint64 {
DisplayFromChecked = (1ULL << 40),
ShowSimilarChannels = (1ULL << 41),
Sponsored = (1ULL << 42),
};
inline constexpr bool is_flag_type(MessageFlag) { return true; }
using MessageFlags = base::flags<MessageFlag>;