mirror of
https://github.com/tutao/tutanota.git
synced 2025-10-19 16:03:43 +00:00
fixed ios build
This commit is contained in:
parent
c6982a0e01
commit
bbbff18610
2 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ class NotificationService: UNNotificationServiceExtension {
|
|||
credentialType: tutasdk.CredentialType.internal
|
||||
)
|
||||
let sdk = try await Sdk(baseUrl: origin, restClient: SdkRestClient()).login(credentials: credentials)
|
||||
return try await sdk.mailFacade().loadEmailByIdEncrypted(idTuple: tutasdk.IdTuple(listId: mailId[0], elementId: mailId[1]))
|
||||
return try await sdk.mailFacade().loadEmailByIdEncrypted(idTuple: tutasdk.IdTupleGenerated(listId: mailId[0], elementId: mailId[1]))
|
||||
}
|
||||
private func getSenderOfMail(_ mail: tutasdk.Mail) -> String {
|
||||
if mail.sender.name.trimmingCharacters(in: CharacterSet.whitespacesAndNewlines).isEmpty { return mail.sender.address } else { return mail.sender.name }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue