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

This commit is contained in:
Râu Cao 2025-05-15 20:05:30 +04:00
commit 322ca98da9
Signed by: raucao
GPG Key ID: 37036C356E56CC51

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