Skip to content

Commit a9ec9af

Browse files
committed
fix: accidentally passed tuple, not int
1 parent 7728210 commit a9ec9af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/team_bot/forwarding.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def forward_to_relay_group(msg: AttrDict, started_by_crew: bool = False):
7070
set_relay_groups(account, relay_mappings)
7171

7272
if msg.quote:
73-
quoted_msg = account.get_message_by_id(msg.quote.message_id).get_snapshot()
73+
quoted_msg = msg.quote.message_id
7474
else:
7575
quoted_msg = None
7676
relay_group.send_message(

0 commit comments

Comments
 (0)