fix equal bofinfo

This commit is contained in:
Mike Renoir 2022-07-17 13:57:49 +02:00
parent dbaf5d30d7
commit db450640ea

View File

@ -93,6 +93,6 @@ public final class BotInfo: PostboxCoding, Equatable {
}
public static func ==(lhs: BotInfo, rhs: BotInfo) -> Bool {
return lhs.description == rhs.description && lhs.commands == rhs.commands && lhs.menuButton == rhs.menuButton && lhs.photo != rhs.photo
return lhs.description == rhs.description && lhs.commands == rhs.commands && lhs.menuButton == rhs.menuButton && lhs.photo == rhs.photo
}
}