Bugfix. In a MUC the /help
command didn't render properly
This commit is contained in:
parent
41ca34a051
commit
a4a1c80b5b
|
@ -17,6 +17,7 @@
|
|||
- The way the archive ID of a MAM message is specified, has changed.
|
||||
See https://xmpp.org/extensions/xep-0313.html#archives_id
|
||||
- Fixed error building DOM toggle_chats.html span.unread-message-count class attribute
|
||||
- Bugfix. In a MUC the `/help` command didn't render properly.
|
||||
|
||||
### New Features
|
||||
- #314 Add support for opening chat rooms with a URL fragment such as `#converse/room?jid=room@domain`
|
||||
|
|
|
@ -554,10 +554,13 @@
|
|||
|
||||
showHelpMessages (msgs, type, spinner) {
|
||||
_.each(msgs, (msg) => {
|
||||
this.$content.append($(tpl_help_message({
|
||||
'type': type||'info',
|
||||
'message': msgs
|
||||
})));
|
||||
this.content.insertAdjacentHTML(
|
||||
'beforeend',
|
||||
tpl_help_message({
|
||||
'type': type||'info',
|
||||
'message': xss.filterXSS(msg, {'whiteList': {'strong': []}})
|
||||
})
|
||||
);
|
||||
});
|
||||
if (spinner === true) {
|
||||
this.$content.append(tpl_spinner);
|
||||
|
|
|
@ -1 +1 @@
|
|||
<div class="chat-{{{o.type}}}">{{{o.message}}}</div>
|
||||
<div class="chat-{{{o.type}}}">{{o.message}}</div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user