     }
     
     func configureObserver() {
-        ChatFacade.observeMessages(byListingLast: 25, channelId: (channel?.id!)!) { message in
+        ChatFacade.observeMessages(byListingLast: 25, channelId: (channel.id!)) { message in
             self.messages.append(message)
             JSQSystemSoundPlayer.jsq_playMessageReceivedAlert()
             self.finishReceivingMessage()

    var user:User!
    var channel:Channel! {
        didSet {
            title = channel!.name
        }
    }
    

    private func addMessage(withId id: String, name: String, text: String) {
        let message = Message(userId: id, userName: name, message: text)
        
        ChatFacade.createMessage(channelId: (channel.id!), message: message)
    }
}
