From c8ce50a01ce17d3d4a4af54b903ef99c1943089f Mon Sep 17 00:00:00 2001 From: miruka Date: Fri, 13 Dec 2019 15:09:13 -0400 Subject: [PATCH] Fix Room.plain_topic accidentally set to None --- src/python/matrix_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/matrix_client.py b/src/python/matrix_client.py index b2f0c247..77022776 100644 --- a/src/python/matrix_client.py +++ b/src/python/matrix_client.py @@ -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 "",