"Owner" - 不是房间属性?

"Owner" - not a room attribute?

出于好奇 - 为什么 room schema,特别是:

  "u": {                                   // Object           Owner User
"_id": "CABrXSHpDqbZXGkYR",            // Random.id()      User Id
"username": "john"                     // String           User Username }

将 "u" 定义为所有者,而实际上 - 这是创建者?

我的意思是 - 为什么要从 subscription object 检索所有者并且不能成为 "room" 的一部分?

当我们想要获取用户尚未明确加入的所有频道(开放房间)时,这会导致问题,这意味着 - 没有订阅。

除了破解 API,您有什么建议吗?

我不明白为什么它会导致问题。简单获取 all channels and remove the channels the user has joined.