Skip to content

Commit

Permalink
fix: use right intent
Browse files Browse the repository at this point in the history
  • Loading branch information
leytilera committed Jun 11, 2023
1 parent fae313f commit 7c692ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion portal.go
Original file line number Diff line number Diff line change
Expand Up @@ -1748,7 +1748,7 @@ func (portal *Portal) CreateMatrixRoom(user *User, groupInfo *types.GroupInfo, i
}
}
rec := portal.bridge.GetPuppetByJID(portal.Key.Receiver)
err = rec.CustomIntent().EnsureJoined(portal.MXID)
err = rec.DefaultIntent().EnsureJoined(portal.MXID)
if err != nil {
portal.log.Errorln("Failed to join created portal with puppet:", err)
}
Expand Down

0 comments on commit 7c692ae

Please sign in to comment.