diff options
author | Oren Hurvitz | 2014-04-21 14:57:31 +0300 |
---|---|---|
committer | Oren Hurvitz | 2014-04-21 16:56:49 +0100 |
commit | 4cac87d9f421d937422c0f9afbe1ba66c66bad17 (patch) | |
tree | 896ca286529e3b72e9c97f1ee2af3a2e6381a961 /OpenSim/Data/MSSQL | |
parent | Better error handling when retrieving offline IMs (diff) | |
download | opensim-SC-4cac87d9f421d937422c0f9afbe1ba66c66bad17.zip opensim-SC-4cac87d9f421d937422c0f9afbe1ba66c66bad17.tar.gz opensim-SC-4cac87d9f421d937422c0f9afbe1ba66c66bad17.tar.bz2 opensim-SC-4cac87d9f421d937422c0f9afbe1ba66c66bad17.tar.xz |
Fixed: when a user logged-in, sometimes he didn't get notified of the Online status of friends, so they continued to appear Offline.
This happened because these notifications (the UDP packets) can only be sent to Root Agents. But the notifications were done in OnClientLogin(), at which point the client is still a Child Agent. Since a FireAndForget is used, it became a race condition as to whether the packets would be sent before or after the client became a Root Agent.
To fix this, we now only send the notifications once the client becomes a Root Agent for the first time.
Diffstat (limited to 'OpenSim/Data/MSSQL')
0 files changed, 0 insertions, 0 deletions