Page 1 of 1

unable to set buddy status...

Posted: 09 May 2011, 09:07
by omnivibe
When I trace buddyManager.buddyStates, I get my custom states of "busy" and "available"

But when I do sfs.send(new SetBuddyVariablesRequest([new SFSBuddyVariable('state', 'busy')]));

and check the buddy.state on all the buddies upon SFSBuddyEvent.BUDDY_VARIABLES_UPDATE

it still just says "Available" in each buddy.state (with capital "A", not like my custom state set in zone configurator)

Any ideas?

Posted: 11 May 2011, 06:43
by omnivibe
Ah, whups- didn't realized the state is set via ReservedBuddyVariables.BV_STATE, not just 'state' :)