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

This commit is contained in:
2025-05-15 12:16:53 +04:00
parent 06d2705c4c
commit fc36fbf10c

View File

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