Problem: If a player deletes a tweet, only that player will see the update in their twitter app, no other clients will receive the delete tweet event and will still be able to see the tweet.
Fix: When the player deletes a tweet, we will now broadcast the delete tweet event to all clients so that everyones UI reflects correctly.
Removed the call of deleteTweet() from ShowMore.tsx, as this was only handling it for the client that did the action and is now unnecessary as the deleteTweetBroadcast event will handle calling this for all clients.
Pull Request Description
Problem: If a player deletes a tweet, only that player will see the update in their twitter app, no other clients will receive the delete tweet event and will still be able to see the tweet.
Fix: When the player deletes a tweet, we will now broadcast the delete tweet event to all clients so that everyones UI reflects correctly.
Example: https://github.com/project-error/npwd/assets/18689469/ca9b28ba-e2e2-433b-9fa4-efc230fd6dac
Pull Request Checklist: