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

View File

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