Only count rooms we're in as DM rooms

pull/21833/head
David Baker 2016-09-05 18:35:32 +01:00
parent 50ef695740
commit 04889a89ec
1 changed files with 4 additions and 0 deletions

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;