Fix inbound blank channel descriptions

This commit is contained in:
Andrew Ferrazzutti 2022-04-23 13:56:44 -04:00
parent 9dd11efc2d
commit 13cb5f87ff
1 changed files with 1 additions and 1 deletions

View File

@ -487,7 +487,7 @@ class Portal(DBPortal, BasePortal):
self.description = description self.description = description
if self.mxid and (self.encrypted or not self.is_direct): if self.mxid and (self.encrypted or not self.is_direct):
try: 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 self.topic_set = True
except Exception: except Exception:
self.log.exception("Failed to set room description") self.log.exception("Failed to set room description")