This commit is contained in:
Ilya Laktyushin 2019-11-26 22:17:10 +04:00
parent dcfd59b1a1
commit 8162bd5ae8

View File

@ -78,7 +78,7 @@ public struct IntentsSettings: PreferencesEntry, Equatable {
return IntentsSettings(initiallyReset: self.initiallyReset, account: self.account, contacts: self.contacts, privateChats: self.privateChats, savedMessages: savedMessages, groups: self.groups, onlyShared: self.onlyShared)
}
public func withUpdatedGroups(_ savedMessages: Bool) -> IntentsSettings {
public func withUpdatedGroups(_ groups: Bool) -> IntentsSettings {
return IntentsSettings(initiallyReset: self.initiallyReset, account: self.account, contacts: self.contacts, privateChats: self.privateChats, savedMessages: self.savedMessages, groups: groups, onlyShared: self.onlyShared)
}