?????????? wrote: > hi: > > I want to take an ID with subscribe and when the on_buddy_state() > touch off then I can get it. > How can i do? For now you'll have to associate the buddy ID (which is an integer) with your data, somewhere in your application (this is trivial with std::map, for example). HTH, -benny