 
         let tempSubscription = Subscription(value: subscription)
 
-        if date == nil {
-//            showLoadingMessagesHeaderStatusView()
-        }
-
         MessageManager.getHistory(tempSubscription, lastMessageDate: date) { [weak self] nextPageDate in
             DispatchQueue.main.async {
                 self?.activityIndicator.stopAnimating()
-
-                if date == nil {
-//                    self?.hideHeaderStatusView()
-                }
 
                 if loadNextPage {
                     self?.isRequestingHistory = false

        guard let subscription = subscription else { return }

        if isRequestingHistory {
            return
        }


            messages.append(contentsOf: newMessages)
            appendMessages(messages: newMessages, completion: { [weak self] in
                self?.activityIndicator.stopAnimating()

                if date == nil {
                    self?.collectionView?.reloadData()
                }

                if SocketManager.isConnected() {
                    if !loadRemoteHistory {
