Disco#info barejid instead of domain on sent carbons

This is the counter-part to 5e404377d4 for
"sent" carbons.

Signed-off-by: Georg Lukas <georg@op-co.de>
This commit is contained in:
Georg Lukas 2020-09-15 12:49:29 +02:00 committed by Maxime “pep” Buquet
parent 5ff321c229
commit 6224f650d3

View file

@ -204,7 +204,7 @@ class HandlerCore:
if is_muc_pm is None:
fixes.has_identity(
self.core.xmpp,
sent['to'].server,
sent['to'].bare,
identity='conference',
on_true=functools.partial(groupchat_private_message, sent),
on_false=functools.partial(send_message, sent))