                     }
                     // Set alertController to nil, so this cell is ready for another alertController.
                     self.alertController = nil
+                }
+                var blockUserAction: UIAlertAction?
+                if let userID = userID {
+                    blockUserAction = UIAlertAction(title: "Block \(userID)", style: .Default, handler: { (_) in
+                        if BlockedUserManager.sharedManager.isUserIDBlocked(userID) {
+                            BlockedUserManager.sharedManager.blockUserID(userID)
+                        }
+                    })
                 }
                 let openAction = UIAlertAction(title: "Open in Browser", style: .Default) { _ in
                     self.alertController = nil

        return links
    }
    
    func longPressAction() {
        DLog("")
        // If there's another alertController, don't do anything.

    }
    
    func layoutWithThread(thread: Thread, forTableViewController tableViewController: TableViewControllerBulkUpdateProtocol) {
        var thread = thread
        if BlockedUserManager.sharedManager.isUserIDBlocked(thread.UID ?? "") {
            thread = Thread()
            thread.content = NSAttributedString(string: "Content Blocked")
            return;
        }
        
        var titleText = (thread.ID ?? "")
        if let UID = thread.UID {
            titleText += " " + UID
        }
        userID = thread.UID
        textLabel?.text = titleText
        textView?.text = thread.content?.string
        if let imageURL = thread.thumbnailURL, let tableViewController = tableViewController as? UITableViewController
