Set topic_set=true in database after setting topic

This commit is contained in:
Tulir Asokan
2022-06-27 11:32:31 +03:00
parent f2731e1cfd
commit 51d377c60d

View File

@@ -1388,6 +1388,8 @@ func (portal *Portal) UpdateTopic(topic string) bool {
_, err := portal.MainIntent().SetRoomTopic(portal.MXID, portal.Topic)
if err != nil {
portal.log.Warnln("Failed to update room topic:", err)
} else {
portal.TopicSet = true
}
}
return true