Browse Source

Send correct DC_EVENT_MSGS_CHANGED when returning from share extension

B. Petersen 3 năm trước cách đây
mục cha
commit
cb5eaed7da
1 tập tin đã thay đổi với 4 bổ sung1 xóa
  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(
                         name: dcNotificationChanged,
                         object: nil,
-                        userInfo: [:]
+                        userInfo: [
+                            "message_id": Int(0),
+                            "chat_id": Int(0),
+                        ]
                     )
                 }
             }