Преглед изворни кода

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),
+                        ]
                     )
                 }
             }