Send Room Refresh Command On Connect
This commit is contained in:
parent
110f8c77dd
commit
b2d824accd
@ -50,6 +50,8 @@ namespace qtc_api.Hubs
|
|||||||
Log("Setting User Online...");
|
Log("Setting User Online...");
|
||||||
OnlineUsers.Add(user.Data);
|
OnlineUsers.Add(user.Data);
|
||||||
if (user.Data.Status == 0) await UpdateStatusAsync(user.Data, 1);
|
if (user.Data.Status == 0) await UpdateStatusAsync(user.Data, 1);
|
||||||
|
|
||||||
|
await Clients.Client(Context.ConnectionId).SendAsync("RefreshRoomList");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user