Browse Source

Merge pull request #976 from deltachat/fix_autocrypt_setup_message_popup

fix alert showing up on tap on autocrypt setup message
cyBerta 4 years ago
parent
commit
ee62d4cbfe
1 changed files with 5 additions and 1 deletions
  1. 5 1
      deltachat-ios/Chat/ChatViewController.swift

+ 5 - 1
deltachat-ios/Chat/ChatViewController.swift

@@ -1080,7 +1080,11 @@ extension ChatViewController: BaseMessageCellDelegate {
     }
 
     @objc func textTapped(indexPath: IndexPath) {
-        _ = handleUIMenu()
+        if handleUIMenu() { return }
+        let message = DcMsg(id: messageIds[indexPath.row])
+        if message.isSetupMessage {
+            didTapAsm(msg: message, orgText: "")
+        }
     }
 
     @objc func phoneNumberTapped(number: String) {