Fix wrong log message

This commit is contained in:
Tulir Asokan 2022-01-19 14:13:06 +02:00
parent 1ebfeedcb7
commit f151dc4e9e

View file

@ -810,7 +810,7 @@ func (portal *Portal) UpdateAvatar(user *User, setBy types.JID, updateInfo bool)
_, err = portal.MainIntent().SetRoomAvatar(portal.MXID, portal.AvatarURL)
}
if err != nil {
portal.log.Warnln("Failed to set room topic:", err)
portal.log.Warnln("Failed to set room avatar:", err)
return false
}
}