Skip to content

Commit

Permalink
Merge pull request #99 from sgratzl/sgratzl/fix-reactions
Browse files Browse the repository at this point in the history
fix: listing reactions
  • Loading branch information
sgratzl authored Jun 9, 2024
2 parents 51bf4a7 + 278aba4 commit 1b643c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions slack_cleaner2/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ def reactions(self) -> List["SlackMessageReaction"]:
message = self._slack.safe_api(
lambda: self._slack.client.reactions_get(
channel=self.channel.id,
ts=self.ts,
timestamp=self.json["ts"],
full=True,
),
"message",
Expand Down Expand Up @@ -593,7 +593,7 @@ def delete(self) -> Optional[Exception]:
return error

def __str__(self):
return f"{self._context}:{self.name}({self.count})"
return f"{self._context()}:{self.name}({self.count})"

def __repr__(self):
return str(self)
Expand Down

0 comments on commit 1b643c9

Please sign in to comment.