+void ChatMonitorView::addActionsToMenu(QMenu* menu, const QPointF& pos)
+{
+ ChatView::addActionsToMenu(menu, pos);
+ menu->addSeparator();
+ auto showOwnNicksAction = new Action(tr("Show Own Messages"), menu, _filter, &ChatMonitorFilter::setShowOwnMessages);
+ showOwnNicksAction->setCheckable(true);
+ showOwnNicksAction->setChecked(_filter->showOwnMessages());
+ menu->addAction(showOwnNicksAction);