Sfoglia il codice sorgente

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

cyberta 5 anni fa
parent
commit
a367348275
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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()
         }