Only count rooms we're in as DM rooms

This commit is contained in:
David Baker 2016-09-05 18:35:32 +01:00
parent 50ef695740
commit 04889a89ec

View File

@ -45,6 +45,10 @@ module.exports = {
isConfCallRoom: function(room, me, conferenceHandler) {
if (!conferenceHandler) return false;
if (me.membership != "join") {
return false;
}
const otherMember = this.getOnlyOtherMember(room, me);
if (otherMember === null) {
return false;