From 13cb5f87ff4eeaee4f6ed5e6714aa8dcc002b8a5 Mon Sep 17 00:00:00 2001 From: Andrew Ferrazzutti Date: Sat, 23 Apr 2022 13:56:44 -0400 Subject: [PATCH] Fix inbound blank channel descriptions --- matrix_appservice_kakaotalk/portal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix_appservice_kakaotalk/portal.py b/matrix_appservice_kakaotalk/portal.py index fcafc62..8fd5d59 100644 --- a/matrix_appservice_kakaotalk/portal.py +++ b/matrix_appservice_kakaotalk/portal.py @@ -487,7 +487,7 @@ class Portal(DBPortal, BasePortal): self.description = description if self.mxid and (self.encrypted or not self.is_direct): try: - await self.main_intent.set_room_topic(self.mxid, self.description) + await self.main_intent.set_room_topic(self.mxid, self.description or "") self.topic_set = True except Exception: self.log.exception("Failed to set room description")