1
This commit is contained in:
parent
8438df6b89
commit
90ae2edddd
@ -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_);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user