Просмотр исходного кода

use new mrmailbox_new call with three parameters

Jonas Reinsch 7 лет назад
Родитель
Сommit
e585b05206
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      deltachat-ios/AppDelegate.swift

+ 1 - 1
deltachat-ios/AppDelegate.swift

@@ -89,7 +89,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
         print(versionString)
         print(versionString)
 
 
         //       - second param remains nil (user data for more than one mailbox)
         //       - second param remains nil (user data for more than one mailbox)
-        mailboxPointer = mrmailbox_new(callback_ios, nil)
+        mailboxPointer = mrmailbox_new(callback_ios, nil, "iOS")
         guard mailboxPointer != nil else {
         guard mailboxPointer != nil else {
             fatalError("Error: mrmailbox_new returned nil")
             fatalError("Error: mrmailbox_new returned nil")
         }
         }