소스 검색

Merge pull request #976 from deltachat/fix_autocrypt_setup_message_popup

fix alert showing up on tap on autocrypt setup message
cyBerta 4 년 전
부모
커밋
ee62d4cbfe
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  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) {