mirror of https://github.com/vector-im/riot-web
Only count rooms we're in as DM rooms
parent
50ef695740
commit
04889a89ec
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue