Explorar o código

remove superfluous check after accepting a chat

cyberta %!s(int64=4) %!d(string=hai) anos
pai
achega
5023643b89
Modificáronse 1 ficheiros con 1 adicións e 4 borrados
  1. 1 4
      deltachat-ios/Chat/ChatViewController.swift

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