Project

General

Profile

How to use a groovy script vcard updates ?

Moffitt tig
Added about 3 years ago

Hope to give some advice


Replies (8)

Added by Wojciech Kapcia TigaseTeam about 3 years ago

Could you give more details about possible use case? Currently there are no groovy scripts to manage/edit user vcards.

Added by Moffitt tig about 3 years ago

thank you!

The content of the groovy can get HTML input box?Through what way ?

Added by Wojciech Kapcia TigaseTeam about 3 years ago

Please describe in details (preferably with screenshots attached) what are you trying to achieve and through what way.

Added by Moffitt tig about 3 years ago

Recently know through what way can update vcard, can obtain vcard and an example is the updated

Thank you for your answer

Added by Moffitt tig about 3 years ago

Problem is: update the vcard database records is not covered, it replaces.

The database of vcard:

fullame

text/plain;charset=UTF8

jhgjgj

After the update:

fffffds

text/plain;charset=UTF8

jhgjgj

Methods the vcard is covered

Added by Andrzej Wójcik IoT 1 CloudTigaseTeam about 3 years ago

This is correct behavior of Tigase XMPP Server according to XEP-0054: vcard-temp as in section 3.2. Updating One's vCard it states:

??Notice that the previous IQ-set included only one changed element (the element). Currently there is no method for partial updates of a vCard, and the entire vCard must be sent to the server in order to update any part of the vCard.??

Added by Moffitt tig about 3 years ago

For data inside the vcard information, update is not delete the node, but replace nodes, can?

Added by Wojciech Kapcia TigaseTeam about 3 years ago

While it's possible to implement any use-case, Tigase follows specification therefore it doesn't support partial updates.

    (1-8/8)