Merge branch 'feature/ejabberd_pep' into live
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-05-15 20:05:30 +04:00

View File

@@ -18,10 +18,8 @@ class XmppSetAvatarJob < ApplicationJob
stanzas = build_xep0084_stanzas
stanzas.each do |stanza|
res = ejabberd.send_stanza {
from: user.address, to: user.address, stanza: stanza
}
payload = { from: @user.address, to: @user.address, stanza: stanza }
res = ejabberd.send_stanza payload
raise res.inspect if res.status != 200
end
end