netlib
netlib copied to clipboard
Implement lobby filtering for the list() function
https://github.com/poki/netlib/blob/main/internal/signaling/stores/postgres.go#L253C4-L253C4
I would like to exclude lobbies without players from the list.
Plus, I would like to have the lobbies to be sorted by the date the last peer was connected.
Hey @aglitchman, thanks for the suggestion. We are currently fixing some issue with lobbies and we will put this near the top of our roadmap. 👍🏻
Most of this was implemented in the last releases. Proper documentation is still to come.
In fact, it works great! 💯 I use it with the {"playerCount": {"$gte": 1}} filter to get lobbies with players.