Change rel_type to xyz.maubot.pong
This commit is contained in:
parent
e9b4cd47a2
commit
4ade107370
2
echo.py
2
echo.py
|
@ -53,7 +53,7 @@ class EchoBot(Plugin):
|
||||||
"ping": evt.event_id,
|
"ping": evt.event_id,
|
||||||
}
|
}
|
||||||
content["m.relates_to"] = {
|
content["m.relates_to"] = {
|
||||||
"rel_type": "pong",
|
"rel_type": "xyz.maubot.pong",
|
||||||
"event_id": evt.event_id,
|
"event_id": evt.event_id,
|
||||||
"from": evt.sender.split(":", 1)[1],
|
"from": evt.sender.split(":", 1)[1],
|
||||||
"ms": diff,
|
"ms": diff,
|
||||||
|
|
Loading…
Reference in a new issue