Add get_vcard2 to ejabberd client
continuous-integration/drone/push Build is passing

This commit is contained in:
raucao committed 2025-05-15 12:16:53 +04:00
1 parent 06d2705c4c
commit fc36fbf10c
1 file changed
+8
+8
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