diff --git a/ui/app/AppLayouts/Chat/ContactsColumn/Channel.qml b/ui/app/AppLayouts/Chat/ContactsColumn/Channel.qml index f0370a8835..0035d0e9c6 100644 --- a/ui/app/AppLayouts/Chat/ContactsColumn/Channel.qml +++ b/ui/app/AppLayouts/Chat/ContactsColumn/Channel.qml @@ -64,7 +64,9 @@ Rectangle { StyledText { id: contactInfo - text: wrapper.chatType !== Constants.chatTypePublic ? Emoji.parse(Utils.removeStatusEns(wrapper.name), "26x26") : "#" + wrapper.name + text: wrapper.chatType !== Constants.chatTypePublic ? + Emoji.parse(Utils.removeStatusEns(Utils.filterXSS(wrapper.name)), "26x26") : + "#" + Utils.filterXSS(wrapper.name) anchors.right: contactTime.left anchors.rightMargin: Style.current.smallPadding elide: Text.ElideRight