Fix Room inviter_avatar getting set to None
This commit is contained in:
parent
1663b166c7
commit
4e14828004
|
@ -358,7 +358,8 @@ class MatrixClient(nio.AsyncClient):
|
||||||
topic = room.topic or "",
|
topic = room.topic or "",
|
||||||
inviter_id = inviter,
|
inviter_id = inviter,
|
||||||
inviter_name = room.user_name(inviter) if inviter else "",
|
inviter_name = room.user_name(inviter) if inviter else "",
|
||||||
inviter_avatar = room.avatar_url(inviter) if inviter else "",
|
inviter_avatar =
|
||||||
|
(room.avatar_url(inviter) or "") if inviter else "",
|
||||||
left = left,
|
left = left,
|
||||||
filter_string = " ".join({
|
filter_string = " ".join({
|
||||||
name,
|
name,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user