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

Track birthdays, edit birthday privacy.

This commit is contained in:
John Preston
2024-03-22 12:41:28 +04:00
parent 5e68dace9f
commit 59663d6661
15 changed files with 293 additions and 24 deletions

View File

@@ -89,27 +89,28 @@ struct PeerUpdate {
IsBot = (1ULL << 27),
EmojiStatus = (1ULL << 28),
BusinessDetails = (1ULL << 29),
Birthday = (1ULL << 30),
// For chats and channels
InviteLinks = (1ULL << 30),
Members = (1ULL << 31),
Admins = (1ULL << 32),
BannedUsers = (1ULL << 33),
Rights = (1ULL << 34),
PendingRequests = (1ULL << 35),
Reactions = (1ULL << 36),
InviteLinks = (1ULL << 31),
Members = (1ULL << 32),
Admins = (1ULL << 33),
BannedUsers = (1ULL << 34),
Rights = (1ULL << 35),
PendingRequests = (1ULL << 36),
Reactions = (1ULL << 37),
// For channels
ChannelAmIn = (1ULL << 37),
StickersSet = (1ULL << 38),
EmojiSet = (1ULL << 39),
ChannelLinkedChat = (1ULL << 40),
ChannelLocation = (1ULL << 41),
Slowmode = (1ULL << 42),
GroupCall = (1ULL << 43),
ChannelAmIn = (1ULL << 38),
StickersSet = (1ULL << 39),
EmojiSet = (1ULL << 40),
ChannelLinkedChat = (1ULL << 41),
ChannelLocation = (1ULL << 42),
Slowmode = (1ULL << 43),
GroupCall = (1ULL << 44),
// For iteration
LastUsedBit = (1ULL << 43),
LastUsedBit = (1ULL << 44),
};
using Flags = base::flags<Flag>;
friend inline constexpr auto is_flag_type(Flag) { return true; }