Skip to content

Commit

Permalink
Improved cache saving methods
Browse files Browse the repository at this point in the history
  • Loading branch information
fourjr committed Feb 2, 2021
1 parent d81e67b commit 7b2e63d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/thread.py
Original file line number Diff line number Diff line change
Expand Up @@ -1157,7 +1157,7 @@ async def _find_from_channel(self, channel):
recipient = None

if recipient is None:
self.cache[user_id] = thread = Thread(self, user_id, channel)
thread = Thread(self, user_id, channel)
else:
self.cache[user_id] = thread = Thread(self, recipient, channel)
thread.ready = True
Expand Down

0 comments on commit 7b2e63d

Please sign in to comment.