server icon indicating copy to clipboard operation
server copied to clipboard

Fix issue where players added or removed from friend or foe lists did not have games updated

Open benjamin-lawson opened this issue 1 year ago • 3 comments

Changes

  • Add send_game_list_to_player() that will send the game's they have access to a specific player rather than just the logged in user.
  • When social add or remove is called, it will send an updated game list to the target of the social add or remove.

Potential Issues

  • Lots of social adds and removes has the potential for abuse of resources (DDOS). This would really be apparent if there are lots of games as well.
  • The client might not accept the game list updates.

TODO

  • Need to add unit/integration tests around this functionality.

Closes #1002

benjamin-lawson avatar Sep 06 '24 15:09 benjamin-lawson