Pārlūkot izejas kodu

Merge pull request #1527 from deltachat/send-correct-msgs-changed-event

Send correct DC_EVENT_MSGS_CHANGED when returning from share extension
cyBerta 3 gadi atpakaļ
vecāks
revīzija
ee8db85121
1 mainītis faili ar 4 papildinājumiem un 1 dzēšanām
  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),
+                        ]
                     )
                 }
             }