Parcourir la source

Update messages when coming back from chat/contact profile. Fix for #459

cyberta il y a 5 ans
Parent
commit
a367348275
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      deltachat-ios/Controller/ChatViewController.swift

+ 3 - 0
deltachat-ios/Controller/ChatViewController.swift

@@ -195,6 +195,9 @@ class ChatViewController: MessagesViewController {
             }
         }
 
+        // maybe a message was added while the user was in the contact / chat profile
+        refreshMessages()
+
         if RelayHelper.sharedInstance.isForwarding() {
             askToForwardMessage()
         }