Skip to content

Commit 7b2e63d

Browse files
committed
Improved cache saving methods
1 parent d81e67b commit 7b2e63d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/thread.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1157,7 +1157,7 @@ async def _find_from_channel(self, channel):
11571157
recipient = None
11581158

11591159
if recipient is None:
1160-
self.cache[user_id] = thread = Thread(self, user_id, channel)
1160+
thread = Thread(self, user_id, channel)
11611161
else:
11621162
self.cache[user_id] = thread = Thread(self, recipient, channel)
11631163
thread.ready = True

0 commit comments

Comments
 (0)