mirror of
https://gitlab.com/xonotic/xonotic
synced 2025-03-04 10:27:38 +00:00
Support invite-only rooms.
This commit is contained in:
parent
6e6dcf67af
commit
7a467142fb
@ -223,7 +223,7 @@ func Run() (err error) {
|
||||
if since != "" && !fullySynced {
|
||||
log.Print("Fully synced.")
|
||||
for room, users := range roomUsers {
|
||||
if len(users) == 0 {
|
||||
if _, found := users[config.UserID]; !found {
|
||||
log.Printf("Not actually joined %v yet...", room)
|
||||
_, err := client.JoinRoom(string(room), "", nil)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user