Add get_vcard2 to ejabberd client
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Râu Cao 2025-05-15 12:16:53 +04:00
parent 06d2705c4c
commit fc36fbf10c
Signed by: raucao
GPG Key ID: 37036C356E56CC51

View File

@ -37,4 +37,12 @@ class EjabberdApiClient
} }
post "private_set", payload post "private_set", payload
end end
def get_vcard2(user, name, subname)
payload = {
user: user.cn, host: user.ou,
name: name, subname: subname
}
post "get_vcard2", payload
end
end end