소스 검색

don't allow swipe to reply for info messages

cyberta 4 년 전
부모
커밋
e6e3d9d9b8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      deltachat-ios/Chat/ChatViewController.swift

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

@@ -527,7 +527,7 @@ class ChatViewController: UITableViewController {
 
 
     override func tableView(_ tableView: UITableView, leadingSwipeActionsConfigurationForRowAt indexPath: IndexPath) -> UISwipeActionsConfiguration? {
-        if disableWriting {
+        if disableWriting || DcMsg(id: messageIds[indexPath.row]).isInfo {
             return nil
         }