minor cleanup

This commit is contained in:
Karmanyaah Malhotra
2021-03-05 18:59:06 -05:00
parent 1636f92acd
commit 7d6847fd3b
5 changed files with 9 additions and 5 deletions

View File

@@ -874,7 +874,7 @@ func (handler *CommandHandler) CommandOpen(ce *CommandEvent) {
ce.Reply("Group JID not found in contacts. Try syncing contacts with `sync` first.")
return
}
handler.log.Debugln("Importing", jid, "for", user)
handler.log.Debugln("Importing", jid, "for", user.MXID)
portal := user.bridge.GetPortalByJID(database.GroupPortalKey(jid))
if len(portal.MXID) > 0 {
portal.Sync(user, contact)