1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-26 21:14:19 +00:00

🐛 Properly pass routed conversation arguments

This commit is contained in:
Steffo 2021-04-18 16:11:14 +02:00
parent d9c6b4b66d
commit 3c7e35290d
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -83,6 +83,7 @@ class Router(c.Conversation, metaclass=abc.ABCMeta):
conversation = self.by_pattern[pattern] conversation = self.by_pattern[pattern]
log.debug(f"Matched with {pattern!r}, running conversation {conversation}") log.debug(f"Matched with {pattern!r}, running conversation {conversation}")
await conversation( await conversation(
**match.groupdict(),
**kwargs, **kwargs,
_sentry=_sentry, _sentry=_sentry,
_conv=conversation, _conv=conversation,