IPWorks MQ 2020 Node.js Edition

Questions / Feedback?

BuddyUpdate Event

This event is fired whenever a roster entry is updated.

Syntax

xmpp.on('BuddyUpdate', [callback])

Callback

The 'callback' is called when the 'BuddyUpdate' event is emited.

function(e){ }

The argument 'e' has the following properties:

e.buddyIdx

Remarks

The BuddyUpdate event will fire whenever a new buddy list entry is added or an old entry is updated. The updated information can be retrieved through the Buddies properties property. The BuddyIdx parameter of this event will be the index of that xmppbuddy in the properties.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks MQ 2020 Node.js Edition - Version 20.0 [Build 8155]