Emit new event roomsPanelRendered
This commit is contained in:
parent
b32a8c5391
commit
47ca3e64b2
|
@ -212,6 +212,15 @@ After the user has sent out a direct invitation, to a roster contact, asking the
|
||||||
|
|
||||||
``_converse.on('roomInvite', function (data) { ... });``
|
``_converse.on('roomInvite', function (data) { ... });``
|
||||||
|
|
||||||
|
roomsPanelRendered
|
||||||
|
~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
Emitted once the "Rooms" panel in the control box has been rendered.
|
||||||
|
Used by `converse-bookmarks` and `converse-roomslist` to know when they can
|
||||||
|
render themselves in that panel.
|
||||||
|
|
||||||
|
``_converse.on('roomsPanelRendered', function (data) { ... });``
|
||||||
|
|
||||||
roster
|
roster
|
||||||
~~~~~~
|
~~~~~~
|
||||||
|
|
||||||
|
|
|
@ -161,6 +161,7 @@
|
||||||
nick: Strophe.getNodeFromJid(_converse.bare_jid)
|
nick: Strophe.getNodeFromJid(_converse.bare_jid)
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
_converse.emit('roomsPanelRendered');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user