Change rel_type to xyz.maubot.pong

This commit is contained in:
Tulir Asokan 2019-12-09 21:20:07 +02:00
parent e9b4cd47a2
commit 4ade107370

View file

@ -53,7 +53,7 @@ class EchoBot(Plugin):
"ping": evt.event_id,
}
content["m.relates_to"] = {
"rel_type": "pong",
"rel_type": "xyz.maubot.pong",
"event_id": evt.event_id,
"from": evt.sender.split(":", 1)[1],
"ms": diff,