From b1aef75bb290fec96b0cf46bf940815e73739f83 Mon Sep 17 00:00:00 2001 From: Luna Date: Mon, 17 Feb 2020 21:35:04 -0300 Subject: [PATCH] presence: remove TODO that function is already shard-aware since we started subscribing at the websocket start instead of fetching session ids for every single dispatch. --- litecord/presence.py | 1 - 1 file changed, 1 deletion(-) diff --git a/litecord/presence.py b/litecord/presence.py index d3f052c..eafc118 100644 --- a/litecord/presence.py +++ b/litecord/presence.py @@ -185,7 +185,6 @@ class PresenceManager: Also dispatches the presence to all the users' friends """ - # TODO: shard-aware (needs to only dispatch guilds of the shard) guild_ids = await self.user_storage.get_user_guilds(user_id) for guild_id in guild_ids: await self.dispatch_guild_pres(guild_id, user_id, presence)