[MOD] Make vcard-avatars XEP-0421 tier

This commit is contained in:
LDA 2024-07-21 16:31:32 +02:00
commit db10a70313
6 changed files with 89 additions and 4 deletions

View file

@ -248,7 +248,7 @@ IQResult(ParseeData *args, XMLElement *stanza, XMPPThread *thr)
/* TODO: More reliable system for telling the difference appart */
if (jid && !StrEquals(from, resource))
{
from_matrix = ParseeEncodeJID(args->config, jid, false);
from_matrix = ParseeGetBridgedUserI(args, stanza, jid);
ASSetAvatar(args->config, from_matrix, mxc);
}
else if (room)