forked from MirrorHub/mautrix-whatsapp
fix: use right intent
This commit is contained in:
parent
fae313fa32
commit
7c692aebae
1 changed files with 1 additions and 1 deletions
|
@ -1748,7 +1748,7 @@ func (portal *Portal) CreateMatrixRoom(user *User, groupInfo *types.GroupInfo, i
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
rec := portal.bridge.GetPuppetByJID(portal.Key.Receiver)
|
rec := portal.bridge.GetPuppetByJID(portal.Key.Receiver)
|
||||||
err = rec.CustomIntent().EnsureJoined(portal.MXID)
|
err = rec.DefaultIntent().EnsureJoined(portal.MXID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
portal.log.Errorln("Failed to join created portal with puppet:", err)
|
portal.log.Errorln("Failed to join created portal with puppet:", err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue