         }
     }
 
-    var haveOneToOneUnreadMessages = false {
-        didSet {
-            reloadConversationsTableView()
-        }
-    }
-
     lazy var noConversationFooterView: InfoView = InfoView(NSLocalizedString("Have a nice day!", comment: ""))
 
     var noConversation = false {


                let haveOneToOneUnreadMessages = countOfUnreadMessagesInRealm(realm, withConversationType: ConversationType.OneToOne) > 0

                strongSelf.haveOneToOneUnreadMessages = haveOneToOneUnreadMessages
                strongSelf.haveUnreadMessages = haveOneToOneUnreadMessages || (countOfUnreadMessagesInRealm(realm) > 0)

                strongSelf.noConversation = countOfConversationsInRealm(realm) == 0


        // 预先生成头像和最近消息图片的缓存
        cacheInAdvance()

        isFirstAppear = false
    }

    override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
