diff --git a/converse.css b/converse.css index f18bda248..9fc227a74 100644 --- a/converse.css +++ b/converse.css @@ -92,7 +92,11 @@ img.spinner { display: block; font-size: 12px; padding: 0.5em 0 0 0.5em; + cursor: default; +} +ul.participant-list li.moderator { + color: #FE0007; } .chatroom form.sendXMPPMessage { diff --git a/converse.js b/converse.js index 95d394599..9e5680245 100644 --- a/converse.js +++ b/converse.js @@ -1084,8 +1084,8 @@ $presence = $(presence), from = $presence.attr('from'); if ($presence.attr('type') !== 'error') { - // check for status 110 to see if it's our own presence if ($presence.find("status[code='110']").length) { + // check for status 110 to see if it's our own presence // check if server changed our nick if ($presence.find("status[code='210']").length) { this.model.set({'nick': Strophe.getResourceFromJid(from)}); @@ -1206,16 +1206,32 @@ return true; }, + occupant_template: _.template( + '