Explorar el Código

reset chatlist if forwarding is cancelled

B. Petersen hace 5 años
padre
commit
4be94ddff3
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      deltachat-ios/Controller/ChatListController.swift

+ 2 - 0
deltachat-ios/Controller/ChatListController.swift

@@ -109,7 +109,9 @@ class ChatListController: UIViewController {
     }
 
     @objc func cancelButtonPressed() {
+        // cancel forwarding
         RelayHelper.sharedInstance.cancel()
+        getChatList()
         updateTitle()
     }