   func ipMessagingClient(client: TwilioIPMessagingClient!, channel: TWMChannel!, memberLeft member: TWMMember!) {
     addMessages([StatusMessage(member:member, status:.Left)])
   }
+
+  func ipMessagingClient(client: TwilioIPMessagingClient!, channelHistoryLoaded channel: TWMChannel!) {
+    loadMessages()
+    tableView.reloadData()
+  }
+
+  func ipMessagingClient(client: TwilioIPMessagingClient!, channelDeleted channel: TWMChannel!) {
+    dispatch_async(dispatch_get_main_queue(), {
+      if channel == self.channel {
+        self.revealViewController().rearViewController
+          .performSegueWithIdentifier(MainChatViewController.TWCOpenGeneralChannelSegue, sender: nil)
+      }
+    })
+  }
 }

    set(channel) {
      _channel = channel
      title = _channel.friendlyName

      if _channel == ChannelManager.sharedManager.generalChannel {
        navigationItem.rightBarButtonItem = nil

  func joinChannel() {
    if channel.status == .Joined {
      loadMessages()
      return
    }

