Save room state after it's creation
This commit is contained in:
parent
49c1eed2e7
commit
9b2b3baca4
@ -247,6 +247,7 @@ func (daemon *Daemon) HandlerJoin(client *Client, cmd string) {
|
||||
room_new, room_sink := daemon.RoomRegister(room)
|
||||
if key != "" {
|
||||
room_new.key = key
|
||||
room_new.StateSave()
|
||||
}
|
||||
room_sink <- ClientEvent{client, EVENT_NEW, ""}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user