Fix issue with messaging at session-level
This commit is contained in:
parent
bb835c3da6
commit
ff7fae3c07
1 changed files with 1 additions and 0 deletions
|
|
@ -400,6 +400,7 @@ class ServerSession(Session):
|
||||||
# this can happen if this is triggered e.g. a command.msg
|
# this can happen if this is triggered e.g. a command.msg
|
||||||
# that auto-adds the session, we'd get a kwarg collision.
|
# that auto-adds the session, we'd get a kwarg collision.
|
||||||
kwargs.pop("session", None)
|
kwargs.pop("session", None)
|
||||||
|
kwargs.pop("from_obj", None)
|
||||||
if text is not None:
|
if text is not None:
|
||||||
self.data_out(text=text, **kwargs)
|
self.data_out(text=text, **kwargs)
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue