This commit is contained in:
Isaac
2025-12-12 23:58:00 +08:00
parent 3982aa3f9e
commit a63c90aa00
41 changed files with 550 additions and 503 deletions

View File

@@ -988,7 +988,7 @@ extension StoreMessage {
}
}
if (flags & (1 << 17)) != 0 {
if (flags & (1 << 19)) != 0 {
attributes.append(ContentRequiresValidationMessageAttribute())
}
@@ -1174,7 +1174,7 @@ extension StoreMessage {
threadId = 1
}
if (flags & (1 << 17)) != 0 {
if (flags & (1 << 19)) != 0 {
attributes.append(ContentRequiresValidationMessageAttribute())
}

View File

@@ -62,7 +62,8 @@ public struct TelegramChatAdminRightsFlags: OptionSet, Hashable {
.canPostStories,
.canEditStories,
.canDeleteStories,
.canManageDirect
.canManageDirect,
.canBanUsers
]
public static func peerSpecific(peer: EnginePeer) -> TelegramChatAdminRightsFlags {