|
currently partially implemented by ginsu; client side implemented by vtFugu |
|
Currently implemented by damascus, partially by ginsu, and client side by vtFugu. |
|
the server only needs to send notice.idle fragments not when their idle time changes (since it is constantly changing, or growing at least even if they are not there) but rather when their last known active time changed (and it can do that lazily). a simple algorithm would be to periodically (every few minutes) check whether the users last known active time had changed, and if so resend a new presence notice to _gale.notice.<name>@<domain>. if their last known active time was less than a few minutes ago, send a status.idle (not idle) fragment if one has not been sent already. |
|
the server only needs to send status.idle fragments not when their idle time changes (since it is constantly changing, or growing at least even if they are not there) but rather when their last known active time changed (and it can do that lazily). a simple algorithm would be to periodically (every few minutes) check whether the users last known active time had changed, and if so resend a new presence notice to _gale.notice.<name>@<domain>. if their last known active time was less than a few minutes ago, send a status.idle (not idle) fragment if one has not been sent already. |
|
* does not depend on timliness of server, since the notice.idle contains the absoute time, they can be sent at any point by the server when it realizes one is necisarry. |
|
* does not depend on timliness of server, since the notice.idle contains the absoute time, they can be sent at any point by the server when it realizes one is necisarry. |