mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios
This commit is contained in:
commit
324f9d76a0
@ -74,10 +74,6 @@
|
|||||||
<dict>
|
<dict>
|
||||||
<key>INIntentParameterPromptDialogCustom</key>
|
<key>INIntentParameterPromptDialogCustom</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>INIntentParameterPromptDialogFormatString</key>
|
|
||||||
<string>Search</string>
|
|
||||||
<key>INIntentParameterPromptDialogFormatStringID</key>
|
|
||||||
<string>ORCbLf</string>
|
|
||||||
<key>INIntentParameterPromptDialogType</key>
|
<key>INIntentParameterPromptDialogType</key>
|
||||||
<string>Configuration</string>
|
<string>Configuration</string>
|
||||||
</dict>
|
</dict>
|
||||||
|
@ -74,10 +74,6 @@
|
|||||||
<dict>
|
<dict>
|
||||||
<key>INIntentParameterPromptDialogCustom</key>
|
<key>INIntentParameterPromptDialogCustom</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>INIntentParameterPromptDialogFormatString</key>
|
|
||||||
<string>Search</string>
|
|
||||||
<key>INIntentParameterPromptDialogFormatStringID</key>
|
|
||||||
<string>ORCbLf</string>
|
|
||||||
<key>INIntentParameterPromptDialogType</key>
|
<key>INIntentParameterPromptDialogType</key>
|
||||||
<string>Configuration</string>
|
<string>Configuration</string>
|
||||||
</dict>
|
</dict>
|
||||||
|
@ -74,10 +74,6 @@
|
|||||||
<dict>
|
<dict>
|
||||||
<key>INIntentParameterPromptDialogCustom</key>
|
<key>INIntentParameterPromptDialogCustom</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>INIntentParameterPromptDialogFormatString</key>
|
|
||||||
<string>Search</string>
|
|
||||||
<key>INIntentParameterPromptDialogFormatStringID</key>
|
|
||||||
<string>ORCbLf</string>
|
|
||||||
<key>INIntentParameterPromptDialogType</key>
|
<key>INIntentParameterPromptDialogType</key>
|
||||||
<string>Configuration</string>
|
<string>Configuration</string>
|
||||||
</dict>
|
</dict>
|
||||||
|
@ -74,10 +74,6 @@
|
|||||||
<dict>
|
<dict>
|
||||||
<key>INIntentParameterPromptDialogCustom</key>
|
<key>INIntentParameterPromptDialogCustom</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>INIntentParameterPromptDialogFormatString</key>
|
|
||||||
<string>Search</string>
|
|
||||||
<key>INIntentParameterPromptDialogFormatStringID</key>
|
|
||||||
<string>ORCbLf</string>
|
|
||||||
<key>INIntentParameterPromptDialogType</key>
|
<key>INIntentParameterPromptDialogType</key>
|
||||||
<string>Configuration</string>
|
<string>Configuration</string>
|
||||||
</dict>
|
</dict>
|
||||||
|
@ -74,10 +74,6 @@
|
|||||||
<dict>
|
<dict>
|
||||||
<key>INIntentParameterPromptDialogCustom</key>
|
<key>INIntentParameterPromptDialogCustom</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>INIntentParameterPromptDialogFormatString</key>
|
|
||||||
<string>Search</string>
|
|
||||||
<key>INIntentParameterPromptDialogFormatStringID</key>
|
|
||||||
<string>ORCbLf</string>
|
|
||||||
<key>INIntentParameterPromptDialogType</key>
|
<key>INIntentParameterPromptDialogType</key>
|
||||||
<string>Configuration</string>
|
<string>Configuration</string>
|
||||||
</dict>
|
</dict>
|
||||||
|
@ -74,10 +74,6 @@
|
|||||||
<dict>
|
<dict>
|
||||||
<key>INIntentParameterPromptDialogCustom</key>
|
<key>INIntentParameterPromptDialogCustom</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>INIntentParameterPromptDialogFormatString</key>
|
|
||||||
<string>Search</string>
|
|
||||||
<key>INIntentParameterPromptDialogFormatStringID</key>
|
|
||||||
<string>ORCbLf</string>
|
|
||||||
<key>INIntentParameterPromptDialogType</key>
|
<key>INIntentParameterPromptDialogType</key>
|
||||||
<string>Configuration</string>
|
<string>Configuration</string>
|
||||||
</dict>
|
</dict>
|
||||||
|
@ -74,10 +74,6 @@
|
|||||||
<dict>
|
<dict>
|
||||||
<key>INIntentParameterPromptDialogCustom</key>
|
<key>INIntentParameterPromptDialogCustom</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>INIntentParameterPromptDialogFormatString</key>
|
|
||||||
<string>Search</string>
|
|
||||||
<key>INIntentParameterPromptDialogFormatStringID</key>
|
|
||||||
<string>ORCbLf</string>
|
|
||||||
<key>INIntentParameterPromptDialogType</key>
|
<key>INIntentParameterPromptDialogType</key>
|
||||||
<string>Configuration</string>
|
<string>Configuration</string>
|
||||||
</dict>
|
</dict>
|
||||||
|
@ -74,10 +74,6 @@
|
|||||||
<dict>
|
<dict>
|
||||||
<key>INIntentParameterPromptDialogCustom</key>
|
<key>INIntentParameterPromptDialogCustom</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>INIntentParameterPromptDialogFormatString</key>
|
|
||||||
<string>Search</string>
|
|
||||||
<key>INIntentParameterPromptDialogFormatStringID</key>
|
|
||||||
<string>ORCbLf</string>
|
|
||||||
<key>INIntentParameterPromptDialogType</key>
|
<key>INIntentParameterPromptDialogType</key>
|
||||||
<string>Configuration</string>
|
<string>Configuration</string>
|
||||||
</dict>
|
</dict>
|
||||||
|
@ -74,10 +74,6 @@
|
|||||||
<dict>
|
<dict>
|
||||||
<key>INIntentParameterPromptDialogCustom</key>
|
<key>INIntentParameterPromptDialogCustom</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>INIntentParameterPromptDialogFormatString</key>
|
|
||||||
<string>Search</string>
|
|
||||||
<key>INIntentParameterPromptDialogFormatStringID</key>
|
|
||||||
<string>ORCbLf</string>
|
|
||||||
<key>INIntentParameterPromptDialogType</key>
|
<key>INIntentParameterPromptDialogType</key>
|
||||||
<string>Configuration</string>
|
<string>Configuration</string>
|
||||||
</dict>
|
</dict>
|
||||||
|
@ -74,10 +74,6 @@
|
|||||||
<dict>
|
<dict>
|
||||||
<key>INIntentParameterPromptDialogCustom</key>
|
<key>INIntentParameterPromptDialogCustom</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>INIntentParameterPromptDialogFormatString</key>
|
|
||||||
<string>Search</string>
|
|
||||||
<key>INIntentParameterPromptDialogFormatStringID</key>
|
|
||||||
<string>ORCbLf</string>
|
|
||||||
<key>INIntentParameterPromptDialogType</key>
|
<key>INIntentParameterPromptDialogType</key>
|
||||||
<string>Configuration</string>
|
<string>Configuration</string>
|
||||||
</dict>
|
</dict>
|
||||||
|
@ -74,10 +74,6 @@
|
|||||||
<dict>
|
<dict>
|
||||||
<key>INIntentParameterPromptDialogCustom</key>
|
<key>INIntentParameterPromptDialogCustom</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>INIntentParameterPromptDialogFormatString</key>
|
|
||||||
<string>Search</string>
|
|
||||||
<key>INIntentParameterPromptDialogFormatStringID</key>
|
|
||||||
<string>ORCbLf</string>
|
|
||||||
<key>INIntentParameterPromptDialogType</key>
|
<key>INIntentParameterPromptDialogType</key>
|
||||||
<string>Configuration</string>
|
<string>Configuration</string>
|
||||||
</dict>
|
</dict>
|
||||||
|
@ -74,10 +74,6 @@
|
|||||||
<dict>
|
<dict>
|
||||||
<key>INIntentParameterPromptDialogCustom</key>
|
<key>INIntentParameterPromptDialogCustom</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>INIntentParameterPromptDialogFormatString</key>
|
|
||||||
<string>Search</string>
|
|
||||||
<key>INIntentParameterPromptDialogFormatStringID</key>
|
|
||||||
<string>ORCbLf</string>
|
|
||||||
<key>INIntentParameterPromptDialogType</key>
|
<key>INIntentParameterPromptDialogType</key>
|
||||||
<string>Configuration</string>
|
<string>Configuration</string>
|
||||||
</dict>
|
</dict>
|
||||||
|
@ -74,10 +74,6 @@
|
|||||||
<dict>
|
<dict>
|
||||||
<key>INIntentParameterPromptDialogCustom</key>
|
<key>INIntentParameterPromptDialogCustom</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>INIntentParameterPromptDialogFormatString</key>
|
|
||||||
<string>Search</string>
|
|
||||||
<key>INIntentParameterPromptDialogFormatStringID</key>
|
|
||||||
<string>ORCbLf</string>
|
|
||||||
<key>INIntentParameterPromptDialogType</key>
|
<key>INIntentParameterPromptDialogType</key>
|
||||||
<string>Configuration</string>
|
<string>Configuration</string>
|
||||||
</dict>
|
</dict>
|
||||||
|
@ -74,10 +74,6 @@
|
|||||||
<dict>
|
<dict>
|
||||||
<key>INIntentParameterPromptDialogCustom</key>
|
<key>INIntentParameterPromptDialogCustom</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>INIntentParameterPromptDialogFormatString</key>
|
|
||||||
<string>Search</string>
|
|
||||||
<key>INIntentParameterPromptDialogFormatStringID</key>
|
|
||||||
<string>ORCbLf</string>
|
|
||||||
<key>INIntentParameterPromptDialogType</key>
|
<key>INIntentParameterPromptDialogType</key>
|
||||||
<string>Configuration</string>
|
<string>Configuration</string>
|
||||||
</dict>
|
</dict>
|
||||||
|
@ -74,10 +74,6 @@
|
|||||||
<dict>
|
<dict>
|
||||||
<key>INIntentParameterPromptDialogCustom</key>
|
<key>INIntentParameterPromptDialogCustom</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>INIntentParameterPromptDialogFormatString</key>
|
|
||||||
<string>Search</string>
|
|
||||||
<key>INIntentParameterPromptDialogFormatStringID</key>
|
|
||||||
<string>ORCbLf</string>
|
|
||||||
<key>INIntentParameterPromptDialogType</key>
|
<key>INIntentParameterPromptDialogType</key>
|
||||||
<string>Configuration</string>
|
<string>Configuration</string>
|
||||||
</dict>
|
</dict>
|
||||||
|
@ -74,10 +74,6 @@
|
|||||||
<dict>
|
<dict>
|
||||||
<key>INIntentParameterPromptDialogCustom</key>
|
<key>INIntentParameterPromptDialogCustom</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>INIntentParameterPromptDialogFormatString</key>
|
|
||||||
<string>Search</string>
|
|
||||||
<key>INIntentParameterPromptDialogFormatStringID</key>
|
|
||||||
<string>ORCbLf</string>
|
|
||||||
<key>INIntentParameterPromptDialogType</key>
|
<key>INIntentParameterPromptDialogType</key>
|
||||||
<string>Configuration</string>
|
<string>Configuration</string>
|
||||||
</dict>
|
</dict>
|
||||||
|
@ -74,10 +74,6 @@
|
|||||||
<dict>
|
<dict>
|
||||||
<key>INIntentParameterPromptDialogCustom</key>
|
<key>INIntentParameterPromptDialogCustom</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>INIntentParameterPromptDialogFormatString</key>
|
|
||||||
<string>Search</string>
|
|
||||||
<key>INIntentParameterPromptDialogFormatStringID</key>
|
|
||||||
<string>ORCbLf</string>
|
|
||||||
<key>INIntentParameterPromptDialogType</key>
|
<key>INIntentParameterPromptDialogType</key>
|
||||||
<string>Configuration</string>
|
<string>Configuration</string>
|
||||||
</dict>
|
</dict>
|
||||||
|
@ -74,10 +74,6 @@
|
|||||||
<dict>
|
<dict>
|
||||||
<key>INIntentParameterPromptDialogCustom</key>
|
<key>INIntentParameterPromptDialogCustom</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>INIntentParameterPromptDialogFormatString</key>
|
|
||||||
<string>Search</string>
|
|
||||||
<key>INIntentParameterPromptDialogFormatStringID</key>
|
|
||||||
<string>ORCbLf</string>
|
|
||||||
<key>INIntentParameterPromptDialogType</key>
|
<key>INIntentParameterPromptDialogType</key>
|
||||||
<string>Configuration</string>
|
<string>Configuration</string>
|
||||||
</dict>
|
</dict>
|
||||||
|
@ -74,10 +74,6 @@
|
|||||||
<dict>
|
<dict>
|
||||||
<key>INIntentParameterPromptDialogCustom</key>
|
<key>INIntentParameterPromptDialogCustom</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>INIntentParameterPromptDialogFormatString</key>
|
|
||||||
<string>Search</string>
|
|
||||||
<key>INIntentParameterPromptDialogFormatStringID</key>
|
|
||||||
<string>ORCbLf</string>
|
|
||||||
<key>INIntentParameterPromptDialogType</key>
|
<key>INIntentParameterPromptDialogType</key>
|
||||||
<string>Configuration</string>
|
<string>Configuration</string>
|
||||||
</dict>
|
</dict>
|
||||||
|
@ -705,8 +705,8 @@ struct ChatRecentActionsEntry: Comparable, Identifiable {
|
|||||||
}
|
}
|
||||||
} else if case let .member(_, _, prevAdminRights, _, prevRank) = prev.participant {
|
} else if case let .member(_, _, prevAdminRights, _, prevRank) = prev.participant {
|
||||||
if case let .member(_, _, newAdminRights, _, newRank) = new.participant {
|
if case let .member(_, _, newAdminRights, _, newRank) = new.participant {
|
||||||
let prevFlags = prevAdminRights?.rights.rights ?? []
|
var prevFlags = prevAdminRights?.rights.rights ?? []
|
||||||
let newFlags = newAdminRights?.rights.rights ?? []
|
var newFlags = newAdminRights?.rights.rights ?? []
|
||||||
|
|
||||||
let order: [(TelegramChatAdminRightsFlags, String)]
|
let order: [(TelegramChatAdminRightsFlags, String)]
|
||||||
|
|
||||||
@ -721,6 +721,8 @@ struct ChatRecentActionsEntry: Comparable, Identifiable {
|
|||||||
(.canAddAdmins, self.presentationData.strings.Channel_AdminLog_CanAddAdmins),
|
(.canAddAdmins, self.presentationData.strings.Channel_AdminLog_CanAddAdmins),
|
||||||
(.canManageCalls, self.presentationData.strings.Channel_AdminLog_CanManageCalls)
|
(.canManageCalls, self.presentationData.strings.Channel_AdminLog_CanManageCalls)
|
||||||
]
|
]
|
||||||
|
prevFlags = prevFlags.intersection(TelegramChatAdminRightsFlags.broadcastSpecific)
|
||||||
|
newFlags = newFlags.intersection(TelegramChatAdminRightsFlags.broadcastSpecific)
|
||||||
} else {
|
} else {
|
||||||
order = [
|
order = [
|
||||||
(.canChangeInfo, self.presentationData.strings.Channel_AdminLog_CanChangeInfo),
|
(.canChangeInfo, self.presentationData.strings.Channel_AdminLog_CanChangeInfo),
|
||||||
@ -732,6 +734,8 @@ struct ChatRecentActionsEntry: Comparable, Identifiable {
|
|||||||
(.canAddAdmins, self.presentationData.strings.Channel_AdminLog_CanAddAdmins),
|
(.canAddAdmins, self.presentationData.strings.Channel_AdminLog_CanAddAdmins),
|
||||||
(.canManageCalls, self.presentationData.strings.Channel_AdminLog_CanManageCalls)
|
(.canManageCalls, self.presentationData.strings.Channel_AdminLog_CanManageCalls)
|
||||||
]
|
]
|
||||||
|
prevFlags = prevFlags.intersection(TelegramChatAdminRightsFlags.groupSpecific)
|
||||||
|
newFlags = newFlags.intersection(TelegramChatAdminRightsFlags.groupSpecific)
|
||||||
}
|
}
|
||||||
|
|
||||||
if prevFlags.isEmpty && newFlags.isEmpty && (prevAdminRights != nil) != (newAdminRights != nil) {
|
if prevFlags.isEmpty && newFlags.isEmpty && (prevAdminRights != nil) != (newAdminRights != nil) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user