|
@@ -1298,10 +1298,12 @@ JitsiConference.prototype.sendApplicationLog = function(message) {
|
1298
|
1298
|
* Checks if the user identified by given <tt>mucJid</tt> is the conference
|
1299
|
1299
|
* focus.
|
1300
|
1300
|
* @param mucJid the full MUC address of the user to be checked.
|
1301
|
|
- * @returns {boolean} <tt>true</tt> if MUC user is the conference focus.
|
|
1301
|
+ * @returns {boolean|null} <tt>true</tt> if MUC user is the conference focus,
|
|
1302
|
+ * <tt>false</tt> when is not. <tt>null</tt> if we're not in the MUC anymore and
|
|
1303
|
+ * are unable to figure out the status or if given <tt>mucJid</tt> is invalid.
|
1302
|
1304
|
*/
|
1303
|
1305
|
JitsiConference.prototype._isFocus = function (mucJid) {
|
1304
|
|
- return this.room.isFocus(mucJid);
|
|
1306
|
+ return this.room ? this.room.isFocus(mucJid) : null;
|
1305
|
1307
|
};
|
1306
|
1308
|
|
1307
|
1309
|
/**
|