Commit 75adfc92 authored by JC Brand's avatar JC Brand

Bugfix. ejabbed doesn't seem to send a 110 status message

parent cf7d9b2e
......@@ -1305,8 +1305,9 @@
// configuration setting.
converse.connection.muc.createInstantRoom(room.name);
}
// check for status 110 to see if it's our own presence
if ($presence.find("status[code='110']").length) {
if (($presence.find("status[code='110']").length) || (from == room.name+'/'+Strophe.escapeNode(nick))) {
// Check to see if it's our own presence
// code 110 indicates it but ejabberd doesn't seem to comply
$item = $presence.find('item');
if ($item.length) {
if ($item.attr('affiliation') == 'owner') {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment