Fix Room.plain_topic accidentally set to None
This commit is contained in:
parent
8a4c160df6
commit
c8ce50a01c
@ -812,7 +812,7 @@ class MatrixClient(nio.AsyncClient):
|
||||
given_name = room.name,
|
||||
display_name = room.display_name or "",
|
||||
avatar_url = room.gen_avatar_url or "",
|
||||
plain_topic = room.topic,
|
||||
plain_topic = room.topic or "",
|
||||
topic = HTML_FILTER.filter_inline(room.topic or ""),
|
||||
inviter_id = inviter,
|
||||
inviter_name = room.user_name(inviter) if inviter else "",
|
||||
|
Loading…
Reference in New Issue
Block a user