| Author |
Message |
![[Post New]](/forums/templates/default/images/icon_minipost_new.gif) 2010/02/26 17:05:24
|
cl1motor
Joined: 2010/02/26 16:14:53
Messages: 4
Offline
|
we are going to be sending notification IMs about what is going on with our site at the users request. I know some chat clients requires that the user accept you as a friend in order to recieve messages from them. Is there anything i need to do on my side differently than just calling AddBuddy() to make this happen?
|
|
|
 |
![[Post New]](/forums/templates/default/images/icon_minipost_new.gif) 2010/02/27 14:39:03
|
jbuddysupport
Joined: 2007/05/03 18:15:29
Messages: 160
Location: Glastonbury, CT
Offline
|
Have a look at the javadocs API for IClient:
http://www.zionsoftware.com/support/jbuddy/sdk/javadocs/com/zion/jbuddy/IClient.html
In particular, review addBuddy(...), addBuddyToList(...), and of course, sendConfigToServer().
You should plan to call sendConfigToServer() (the equivalent function for JBuddy.NET), after modifying the buddylist.
|
|
|
 |
![[Post New]](/forums/templates/default/images/icon_minipost_new.gif) 2010/03/05 15:50:50
|
cl1motor
Joined: 2010/02/26 16:14:53
Messages: 4
Offline
|
so you are saying that calling AddBuddy() will send a request to the user i'm adding so that they will be able to accept and recieve messages?
|
|
|
 |
![[Post New]](/forums/templates/default/images/icon_minipost_new.gif) 2010/03/08 10:25:21
|
jbuddysupport
Joined: 2007/05/03 18:15:29
Messages: 160
Location: Glastonbury, CT
Offline
|
yes, this should trigger the IM server to send the authorization request to the buddy who will then decide if he wishes to grant you access to his presence and ability to message him/her.
Additional reading on buddy authorization should be done at: http://www.zionsoftware.com/support/jbuddy/sdk/javadocs/com/zion/jbuddy/IMessage.html
Checkout the IMessage types beginning with "AUTH_"
Also, please look at the CmdLineClient demo source. This will give good examples of updating buddylists and handling or sending buddy authorization.
|
|
|
 |
![[Post New]](/forums/templates/default/images/icon_minipost_new.gif) 2011/08/01 10:59:06
|
hable1thayer
Joined: 2011/07/13 03:59:34
Messages: 1
Location: 17 Halpin Ln, Ridgefield, CT 06877
Offline
|
jbuddysupport wrote:
yes, this should trigger the IM server to send the authorization request to the buddy who will then decide if he wishes to grant you access to his presence and ability to message him/her.
Additional reading on buddy authorization should be done at: http://www.zionsoftware.com/support/jbuddy/sdk/javadocs/com/zion/jbuddy/IMessage.html
Checkout the IMessage types beginning with "AUTH_"
Also, please look at the CmdLineClient demo source. This will give good examples of updating buddylists and handling or sending buddy authorization.
Thanks for giving the information. And I will try it in my application.Thanks again
|
carp fishing |
|
|
 |
|
|