diff --git a/src/widgets/helper/ChannelView.cpp b/src/widgets/helper/ChannelView.cpp index d4c3bc00e..7ff6098e6 100644 --- a/src/widgets/helper/ChannelView.cpp +++ b/src/widgets/helper/ChannelView.cpp @@ -1506,7 +1506,8 @@ void ChannelView::handleMouseClick(QMouseEvent *event, auto &link = hoveredElement->getLink(); if (link.type == Link::UserInfo) { - insertText("@" + link.value + ", "); + const bool commaMention = getSettings()->mentionUsersWithComma; + insertText("@" + link.value + (commaMention ? ", " : " ")); } else if (link.type == Link::UserWhisper) {