diff --git a/CHANGES.md b/CHANGES.md index f021407888..5b1dd05cb2 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -4,6 +4,7 @@ - Bugfix. Handler not triggered when submitting MUC password form 2nd time - Bugfix. MUC features weren't being refreshed when saving the config form +- #1063 URLs in the topic / subject are not clickable - #1190 MUC Participants column disappears in certain viewport widths - #1199 Can't get back from to login screen from registration screen - #1214 Setting `allow_contact_requests` to `false` has no effect diff --git a/css/converse.css b/css/converse.css index dc8f15bcc5..52027c07b4 100644 --- a/css/converse.css +++ b/css/converse.css @@ -10394,6 +10394,9 @@ body.reset { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } + #conversejs.converse-embedded .chat-head-chatroom .chatroom-description a, + #conversejs .chat-head-chatroom .chatroom-description a { + color: white; } #conversejs.converse-embedded .chat-head-chatroom a.chatbox-btn.fa, #conversejs.converse-embedded .chat-head-chatroom a:visited.chatbox-btn.fa, #conversejs.converse-embedded .chat-head-chatroom a:hover.chatbox-btn.fa, #conversejs.converse-embedded .chat-head-chatroom a:not([href]):not([tabindex]).chatbox-btn.fa, #conversejs .chat-head-chatroom a.chatbox-btn.fa, #conversejs .chat-head-chatroom a:visited.chatbox-btn.fa, diff --git a/dist/converse.js b/dist/converse.js index 55df7e7665..145cb6aac8 100644 --- a/dist/converse.js +++ b/dist/converse.js @@ -68850,7 +68850,9 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_ 'info_close': __('Close and leave this groupchat'), 'info_configure': __('Configure this groupchat'), 'info_details': __('Show more details about this groupchat'), - 'description': _.get(this.model.get('subject'), 'text') || '' + 'description': u.addHyperlinks(xss.filterXSS(_.get(this.model.get('subject'), 'text'), { + 'whiteList': {} + })) })); }, @@ -69880,7 +69882,10 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_ 'data': '', 'isodate': date, 'extra_classes': 'chat-topic', - 'message': subject.text + 'message': u.addHyperlinks(xss.filterXSS(_.get(this.model.get('subject'), 'text'), { + 'whiteList': {} + })), + 'render_message': true })); } @@ -78970,10 +78975,10 @@ __e( o.Strophe.getNodeFromJid(o.jid) ) + __e( o.Strophe.getDomainFromJid(o.jid) ) + '\n '; } ; -__p += '\n \n
' + -__e(o.description) + +((__t = (o.description)) == null ? '' : __t) + '
\n\n -{{{o.description}}}
+ +{{o.description}}