Skip to content
Extraits de code Groupes Projets
Valider dde2ea06 rédigé par Elliu's avatar Elliu
Parcourir les fichiers

Fix sticker body

parent 0444afa2
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
*.png *.png
*.ttf *.ttf
.env .env
session.txt
...@@ -54,9 +54,10 @@ async def echo(room, event): ...@@ -54,9 +54,10 @@ async def echo(room, event):
"mimetype": "image/png", "mimetype": "image/png",
"h": height, "h": height,
"w": width, "w": width,
"size": 0,
"thumbnail_url": uri, "thumbnail_url": uri,
}, },
"body": json.JSONEncoder().encode(cmd), "body": cmd,
"m.relates_to": { "m.relates_to": {
"m.in_reply_to": { "m.in_reply_to": {
"event_id": event.event_id "event_id": event.event_id
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter