|
@@ -758,6 +758,7 @@ func (portal *Portal) CreateMatrixRoom(user *User) error {
|
|
_ = customPuppet.CustomIntent().EnsureJoined(portal.MXID)
|
|
_ = customPuppet.CustomIntent().EnsureJoined(portal.MXID)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ user.addPortalToCommunity(portal)
|
|
err = portal.FillInitialHistory(user)
|
|
err = portal.FillInitialHistory(user)
|
|
if err != nil {
|
|
if err != nil {
|
|
portal.log.Errorln("Failed to fill history:", err)
|
|
portal.log.Errorln("Failed to fill history:", err)
|