             roomType = .group
         }
 
+        sender.isEnabled = false
         API.shared.fetch(RoomCreateRequest(roomName: roomName, type: roomType, readOnly: readOnlyRoom)) { [weak self] result in
 
             guard let success = result?.raw?["success"].boolValue,

                    } else {
                        self?.showAlert(.errorUnknown)
                    }
                    return
            }


        }
    }

    @IBAction func buttonCreateDidPressed(_ sender: UIButton) {
        guard let roomName = setValues["room name"] as? String else { return }
        guard let publicRoom = setValues["public room"] as? Bool else { return }
        guard let readOnlyRoom = setValues["read only room"] as? Bool else { return }
