Password-protect a room
Step 1: allow the matchmaker to identify the "password"
field.¶
Define the "password"
field inside the filterBy()
method.
Step 2: make the room unlisted¶
If a password was provided for create()
or joinOrCreate()
, set the room listing as private: