Initial 64-bit id support

This commit is contained in:
Ali
2021-06-28 20:02:50 +04:00
parent d7f64543d5
commit a23971c0ef
129 changed files with 1486 additions and 1314 deletions

View File

@@ -286,7 +286,7 @@ struct ChatRecentActionsEntry: Comparable, Identifiable {
case .header:
var peers = SimpleDictionary<PeerId, Peer>()
var author: Peer?
if self.entry.event.peerId == PeerId(namespace: Namespaces.Peer.CloudUser, id: PeerId.Id._internalFromInt32Value(136817688)) {
if self.entry.event.peerId == PeerId(namespace: Namespaces.Peer.CloudUser, id: PeerId.Id._internalFromInt64Value(136817688)) {
author = message?.effectiveAuthor
} else if let peer = self.entry.peers[self.entry.event.peerId] {
author = peer