Prevent possible leakage from discord.Message objects in Streams #4731
Labels
Blocked By: Other PR
Blocked by another PR.
Category: Cogs - Streams
This is related to the Streams cog.
Status: In Progress
There's a PR open to deal with this, or an org member is working on this internally
Type: Bug
Unexpected behavior, result, or exception. In case of PRs, it is a fix for the foregoing.
Type: Optimisation
Situations where too much time is necessary to complete the task.
Currently, we're caching whole message objects for the messages made by Streams cog so that we can auto delete them. This is prone to leakage on gateway reconnection so we should instead cache only channel id and message id and use the partial message objects to delete alert messages.
Doing it like this is dependent on d.py 1.6 in Red, so for now this is blocked by #4728
The text was updated successfully, but these errors were encountered: