mirror of https://gitlab.com/litecord/litecord.git
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.
This commit is contained in:
parent
f0f5570dfa
commit
b1aef75bb2
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue