Avatar

Level 4

ok so in my Model i am created a new ConnectSession and authing it thus:

_authenticator = new AdobeHSAuthenticator();

_authenticator.authenticationKey = _token;

_connectSession = new ConnectSession();
_connectSession.authenticator = _authenticator;

_connectSession.roomURL = _roomURL;

_connectSession.login();

then once that's all authed and logged in nicely, over in my view i'm creating a simple chat and a roster thus:

_chat = new SimpleChat();
_chat.connectSession = _connectSessionProxy.connectSession;
chatWrapper.addChild(_chat);

_roster = new Roster();
_roster.connectSession = _connectSessionProxy.connectSession;
_roster.subscribe();
chatParticipantsContainer.addChild(_roster);

both are created, both successfully added to the stage [and therefore both fully initialised] but only the SimpleChat is 'working'. i can invite others into my chat, we can chat, but we are never listed in the roster.

why's that then?