mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 09:46:09 +03:00
Only count rooms we're in as DM rooms
This commit is contained in:
parent
50ef695740
commit
04889a89ec
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue