 import Foundation
 import AppKit
 
-final class MenuDelegate: NSObject, NSMenuDelegate, NSSharingServiceDelegate {
+final class MenuDelegate: NSObject {
     // MARK: Menu Outlets
     @IBOutlet weak var copyCommentMenuItem: NSMenuItem!
     @IBOutlet weak var openUrlMenuItem: NSMenuItem!

        guard message.messageType == .chat, let chat = message.chat else { return }
        configureMenu(chat)
    }

    // MARK: Utility
    private func resetMenu() {}
    private func configureMenu(_ chat: Chat) {}

    // MARK: - Context Menu Handlers
    @IBAction func copyComment(_ sender: AnyObject) {
        guard let chat = MessageContainer.sharedContainer[tableView.clickedRow].chat,


        let status = "「\(comment)」/ \(liveName) (\(communityName)) \(liveUrl) #\(communityId)"

        let service = NSSharingService(named: .postOnTwitter)
        service?.delegate = self
        service?.perform(withItems: [status])
    }

