浏览代码

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(
                         name: dcNotificationChanged,
                         object: nil,
-                        userInfo: [:]
+                        userInfo: [
+                            "message_id": Int(0),
+                            "chat_id": Int(0),
+                        ]
                     )
                 }
             }