Fix inbound blank channel descriptions
This commit is contained in:
parent
9dd11efc2d
commit
13cb5f87ff
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue