Skip to content

Commit

Permalink
fix bug: don't react to avoid loop
Browse files Browse the repository at this point in the history
  • Loading branch information
adbenitez committed Feb 1, 2024
1 parent d5a12d1 commit 5a0c93d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions simplebot_mastodon/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,8 @@ def ac_process_ffi_event(self, ffi_event: FFIEvent) -> None:
if masto:
if star:
masto.status_favourite(toot_id)
msg.send_reaction(STAR_REACTIONS[0])
else:
masto.status_unfavourite(toot_id)
msg.send_reaction("")


@simplebot.hookimpl
Expand Down

0 comments on commit 5a0c93d

Please sign in to comment.