Переглянути джерело

Send correct DC_EVENT_MSGS_CHANGED when returning from share extension

B. Petersen 3 роки тому
батько
коміт
cb5eaed7da
1 змінених файлів з 4 додано та 1 видалено
  1. 4 1
      deltachat-ios/AppDelegate.swift

+ 4 - 1
deltachat-ios/AppDelegate.swift

@@ -197,7 +197,10 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
                     NotificationCenter.default.post(
                     NotificationCenter.default.post(
                         name: dcNotificationChanged,
                         name: dcNotificationChanged,
                         object: nil,
                         object: nil,
-                        userInfo: [:]
+                        userInfo: [
+                            "message_id": Int(0),
+                            "chat_id": Int(0),
+                        ]
                     )
                     )
                 }
                 }
             }
             }