diff --git a/rias.py b/rias.py index c7dd115..ccc3eb7 100644 --- a/rias.py +++ b/rias.py @@ -145,7 +145,7 @@ async def main(): return if reply.forward and reply.forward.sender_id: user = await reply.forward.get_input_sender() - elif not reply.forward and match := hidden_fwd_regex.match(reply.raw_text): + elif (match := hidden_fwd_regex.match(reply.raw_text)) and not reply.forward: user = InputPeerUser(int(match.group(1)), int(match.group(2))) else: return