fix duplicate message instantiation
This commit is contained in:
parent
ab3a4ec98e
commit
00b26af0f2
1
app.py
1
app.py
@ -64,7 +64,6 @@ async def mailgun_webhook(
|
|||||||
)
|
)
|
||||||
room_id = resp.room_id
|
room_id = resp.room_id
|
||||||
|
|
||||||
message = f"{body_plain}" if body_plain else "(empty message)"
|
|
||||||
await matrix_client.room_send(
|
await matrix_client.room_send(
|
||||||
room_id,
|
room_id,
|
||||||
message_type="m.room.message",
|
message_type="m.room.message",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user