I am configuring integration between xmpp and mattermost using matterbridge and I would like to be able to set the IconURL to the profile image of the user in mattermost. As I understand, the API should be like this:
https://mattermost.example.com/api/v4/users/GUID/image but matterbridge does not recognize GUID, it only recognizes NICK, which is the username for both xmpp and mattermost, so is there a way to query the profile image using the username and not guid? Something like this?
Thanks in advance,