mirror of
https://github.com/RedWizardsLab/EchoHub.git
synced 2026-09-04 08:36:11 +02:00
feat: Implement server directory registration and user count tracking
This commit is contained in:
@@ -110,4 +110,9 @@ public class PresenceTracker
|
||||
{
|
||||
return _userConnections.TryGetValue(username, out var connections) && connections.Count > 0;
|
||||
}
|
||||
|
||||
public int GetOnlineUserCount()
|
||||
{
|
||||
return _userConnections.Count;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user