Add get_vcard2 to ejabberd client
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
06d2705c4c
commit
fc36fbf10c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user