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

remove superfluous check after accepting a chat

cyberta 4 жил өмнө
parent
commit
5023643b89

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

@@ -1683,10 +1683,7 @@ extension ChatViewController: ChatEditingDelegate {
 extension ChatViewController: ChatContactRequestDelegate {
     func onAcceptPressed() {
         dcContext.acceptChat(chatId: chatId)
-        disableWriting = !dcContext.getChat(chatId: chatId).canSend
-        if !disableWriting {
-            configureUIForWriting()
-        }
+        configureUIForWriting()
     }
 
     func onBlockPressed() {