1 beta 5a - (Suggestion) - To Remove Automatic Login

Hi,

I have been using the gateway plugin for a while now and i have realized that sometimes the user is automatically logged in to the transport and sometimes it is not …

so for example … when I first register a transport …

  1. If login fails -> send back failure to client.

  2. if login success -> send back logged in status and not send the roster until the client explicitly asks for it.

next time when the user logs into the wildfire server with a client, donot login the transport …

login the transport only when the user sends a presence request to the transport … not the wildfire server.

keeping the events of wildfire login and the transport login seperate make it easy for the client to keep track off what and when the presence comes in.