Subject: Announce presence to server
Is there a method in the MatriX library that announces presence to server ?
For example before using MatriX I was using a library called Coversant and I had something like this:
// create the Jabber user to connect
JabberID jabberId = new JabberID(user, SessionInfo.ServerName, ActiveResource);
// login
_session.Login(jabberId, password);
// announce the user to the server
AvailableRequest announce = new AvailableRequest();
_session.SendAndForget(announce);
// announce the user to the administrator user on the server
JabberID serverJabberId = new JabberID("api2", SessionInfo.ServerName, "xmpphp");
AvailableRequest announcePresenceToServer = new AvailableRequest(serverJabberId);
_session.SendAndForget(announcePresenceToServer);
Is there something equivalent in MatriX?
For example before using MatriX I was using a library called Coversant and I had something like this:
// create the Jabber user to connect
JabberID jabberId = new JabberID(user, SessionInfo.ServerName, ActiveResource);
// login
_session.Login(jabberId, password);
// announce the user to the server
AvailableRequest announce = new AvailableRequest();
_session.SendAndForget(announce);
// announce the user to the administrator user on the server
JabberID serverJabberId = new JabberID("api2", SessionInfo.ServerName, "xmpphp");
AvailableRequest announcePresenceToServer = new AvailableRequest(serverJabberId);
_session.SendAndForget(announcePresenceToServer);
Is there something equivalent in MatriX?