Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

Commit

Permalink
Fix object creation
Browse files Browse the repository at this point in the history
  • Loading branch information
ltworf committed Nov 10, 2023
1 parent eb62674 commit d8742f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slack.py
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ async def get_im(self, im_id: str) -> Optional[IM]:
return None
for uid, imid in self._imcache.items():
if im_id == imid:
return IM(user=uid, id=imid)
return IM(user=uid, id=imid, is_user_deleted=False)

for im in await self.get_ims():
self._imcache[im.user] = im.id
Expand Down

0 comments on commit d8742f1

Please sign in to comment.