fix synapse again
This commit is contained in:
parent
31b7c0dba8
commit
67db7b1be0
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ class MatrixClient(AppService):
|
||||||
|
|
||||||
message_id = self.discord.send_webhook(
|
message_id = self.discord.send_webhook(
|
||||||
webhook,
|
webhook,
|
||||||
self.mxc_url(author.avatar_url),
|
self.mxc_url(author.avatar_url) if author.avatar_url else None,
|
||||||
message.body,
|
message.body,
|
||||||
author.display_name if author.display_name else message.sender,
|
author.display_name if author.display_name else message.sender,
|
||||||
).id
|
).id
|
||||||
|
|
Loading…
Reference in a new issue