Эх сурвалжийг харах

Merge pull request #976 from deltachat/fix_autocrypt_setup_message_popup

fix alert showing up on tap on autocrypt setup message
cyBerta 4 жил өмнө
parent
commit
ee62d4cbfe

+ 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) {