Closed lun-4 closed 3 years ago
Just tested it. URLs can't be assumed to exist (tested on a3.pm
which has good defaults).
Since Discord Webhooks don't allow you to push out avatar data on the message (for good reason), this issue is unsolvable without requiring some external service to upload images to or turn black-hole itself into an internet-facing server application that gives out some API routes that maps JIDs to avatars.
It looks like aioxmpp has support for avatars
It would remove the need for having to link JIDs to Discord users every time someone new comes along to the MUC (though I disagree we should remove that functionality entirely, as people might just want to maintain their Discord avatar).