Various fixes

This commit is contained in:
Ilya Laktyushin
2022-11-24 02:36:11 +04:00
parent 0ba39ad01e
commit dea2cc2a7d
8 changed files with 29 additions and 14 deletions

View File

@@ -191,7 +191,7 @@ private let phonebookUsernamePrefix = "https://t.me/" + phonebookUsernamePathPre
public extension DeviceContactUrlData {
convenience init(appProfile: PeerId) {
self.init(label: "Telegram", value: "\(phonebookUsernamePrefix)\(appProfile.id)")
self.init(label: "Telegram", value: "\(phonebookUsernamePrefix)\(appProfile.id._internalGetInt64Value())")
}
}