XMPPContactManager: Support for handling subscription requests
This commit is contained in:
parent
702a18636d
commit
bd0440b3ee
2 changed files with 49 additions and 4 deletions
|
@ -57,6 +57,15 @@
|
|||
- (void)contactManager: (XMPPContactManager*)manager
|
||||
didRemoveContact: (XMPPContact*)contact;
|
||||
|
||||
/**
|
||||
* \brief This callback is called when a subscription request is received
|
||||
*
|
||||
* \param manager The contact manager that received the request
|
||||
* \param presence The type=subscribe presence
|
||||
*/
|
||||
- (void)contactManager: (XMPPContactManager*)manager
|
||||
didReceiveSubscriptionRequest: (XMPPPresence*)presence;
|
||||
|
||||
/**
|
||||
* \brief This callback is called whenever a contact is about to change its
|
||||
* roster item
|
||||
|
@ -118,6 +127,9 @@
|
|||
- initWithConnection: (XMPPConnection*)connection
|
||||
roster: (XMPPRoster*)roster;
|
||||
|
||||
- (void)sendSubscribedToJID: (XMPPJID*)subscriber;
|
||||
- (void)sendUnsubscribedToJID: (XMPPJID*)subscriber;
|
||||
|
||||
/**
|
||||
* \brief Adds the specified delegate.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue