This commit is contained in:
aozhiwei 2023-07-04 14:04:54 +08:00
parent 8438df6b89
commit 90ae2edddd

View File

@ -1105,7 +1105,9 @@ bool Room::CanJoin(const std::string& accountid,
[this] (int event, const a8::Args* args)
{
if (a8::TIMER_EXEC_EVENT == event) {
LockRoom();
if (!lock_room_) {
LockRoom();
}
}
},
&xtimer_attacher_);