         })
     }
 
-    private func handleUserSearchActivity(userID userID: String) {
+    private func handleUserSearchActivity(userID userID: String) -> Bool {
 
         guard let
             realm = try? Realm(),
             user = userWithUserID(userID, inRealm: realm),
             tabBarVC = window?.rootViewController as? UITabBarController,
             nvc = tabBarVC.selectedViewController as? UINavigationController else {
-                return
+                return false
         }
 
         // 如果已经显示了就不用push
         if let topVC = nvc.topViewController as? ProfileViewController, let _userID = topVC.profileUser?.userID where _userID == userID {
-            return
+            return true
 
         } else {
             guard let vc = UIStoryboard(name: "Main", bundle: nil).instantiateViewControllerWithIdentifier("ProfileViewController") as? ProfileViewController else {
-                return
+                return false
             }
 
             vc.profileUser = ProfileUser.UserType(user)

            conversation = feed.group?.conversation,
            tabBarVC = window?.rootViewController as? UITabBarController,
            nvc = tabBarVC.selectedViewController as? UINavigationController else {
                return
        }

        // 如果已经显示了就不用push
        if let topVC = nvc.topViewController as? ConversationViewController, let feed = topVC.conversation?.withGroup?.withFeed where feed.feedID == feedID {
            return

        } else {
            guard let vc = UIStoryboard(name: "Conversation", bundle: nil).instantiateViewControllerWithIdentifier("ConversationViewController") as? ConversationViewController else {
                return
            }

            vc.conversation = conversation

            nvc.pushViewController(vc, animated: true)
        }
    }


                switch itemType {

                case .User:
                    return handleUserSearchActivity(userID: itemID)

                case .Feed:
                    return handleFeedSearchActivity(feedID: itemID)
                }
            }
        }

