Incorrect online status received by simulator when sending an IM while a user is logging out.
tracked
TrishAce Resident
Sending an IM right as a user goes offline fires back an OnlineNotification right after the offline notification.
I assume this is a racing condition on the server side.
The issue comes from the fact this then leaves the user in a permanent online state on your end unless you relog / send another IM.
Example:
[11:34:14] Kalimaru: Gotta dash
[11:34:19] Willow (kalimaru) is offline.
[11:34:20] TrishAce: ok
[11:34:21] Willow (kalimaru) is online.
[11:45:35] TrishAce: <testing>
[11:45:35] Willow (kalimaru) is offline.
[11:45:35] User not online - message will be stored and delivered later.
In this example, the notice at 11:34:11 is wrong, the user went offline.
Sending an IM later (while they are offline) then correctly syncs the status as you see here
Log In

Maestro Linden
updated the status to
tracked

Maestro Linden
TrishAce Resident okay, I tried again this morning with 2 viewers, which allowed me to send the IM quite a bit faster. I was able to reproduce the bug and confirm that the simulator is indeed sending an OnlineNotification message about the logging-out agent just after it had sent the OfflineNotification for the same agent.

Maestro Linden
updated the status to
needs info

Maestro Linden
I'm not able to reproduce this with Second Life Release 26.4.0.37384746592 or 'Firestorm 7.2.5 (81788) Oct 19 2026 15:21:25 (64bit / AVX2-LTO) (Firestorm-Releasex64)' on Second Life Server 2026-09-28.36457939353 after several tries. I tried between two users who are friends and also between two users who are not friends.
The steps I followed were:
- UserA and UserB: login to different regions
- UserA and UserB: IM each other a few times - verify proper delivery
- UserA: Start typing an IM to UserB, but don'tsend it yet
- UserB: Send an IM to UserB, then immediatelyexit the viewer
- UserA: Immediately send a message to UserB, and note the results.
I saw the expected results, which are:
- UserA gets UserB's message from (4)
- If UserA and UserB are friends, UserA gets a 'UserB is Offline' presence update message, and UserB appears offline to UserA
- No matter how soon UserB sends clicks 'send' to send a message to UserA in (5), their IM is met with 'User not online - message will be stored and delivered later.'. If UserA and UserB are friends, there is no 'UserB is Online' message.
Here's a typical chat log from UserA's perspective:
[1:38 PM] Maestro Tester: bye2
[1:38 PM] Maestro Tester is Offline
[1:38 PM] Litmus Tester: again2
[1:38 PM] User not online - message will be stored and delivered later.
TrishAce Resident, I have a few questions for you:
- You appear to be using a pre-release/testing viewer build. Does this reproduce when you're using either Second Life Release 26.4.0.37384746592 or 'Firestorm 7.2.5 (81788) Oct 19 2026 15:21:25 (64bit / AVX2-LTO) (Firestorm-Releasex64)'?
- How consistent is this bug for you? Is it every time, half the time, or only on rare occasions?
- When you hit this bug, the 2 users are friends, correct?
- When you hit this bug, are the 2 users in the same region, in nearby regions (within draw distance for your viewers), or in distant regions?
TrishAce Resident
Maestro Linden
1) I am able to repro on base firestorm and base LL viewer as well, I have experienced this bug with all versions of firestorm for the past ~3y (since I have been in SL, way before I was on custom builds), so this is not a new bug. For a quick sanity check, I have also repro'ed just now using my alt on SLV 26.5
2) Very reliably reproducible, if I prepare a message and send it immediately after the "is offline" shows up in chat, I am near-guaranteed to get a follow up "is online" notification. Enough that over the years, I am used to this bug enough that I sneak in an extra message in my IMs when I know it happened.
3) Yes, 2 friends, both with online status shared for both. (Can't say if I have noticed it with non-friends)
4) The repro I have just done was while in different regions (RC Ferrari, Luau, and earlier today it also happened on main channel) Given this is an older bug, it used to happen with older sim version as well. It also repros while in the same region. (I cannot see a difference there)
```
[4:04 PM] MikaelaSnuggler: asfas
[4:04 PM] Trish is Offline
[4:04 PM] MikaelaSnuggler: asfasf
[4:04 PM] Trish is Online
```
The second message here was already typed in, as soon as "is offline" came in, I sent it from my alt and then the "is online" message popped up immediately.
On Trish (account logging out), I could see my viewer was still shutting down (not fully closed yet), when my alt saw the "Is Online" notification.
Then the online status remained while I am effectively offline on Trish. I had to send another message for it to sync (as shown in the original chat log example)
I have attached a clip of the repro while in different regions and one while in the same region.
A possible 'dirty' viewer workaround at the moment is to refetch the online status after sending an IM and receiving "is online" right after.

Maestro Linden
TrishAce Resident: Thanks for the detailed response.
Looking at your videos, it looks like you send the response
very
soon after '[Friend] is offline' notification appears - about 300-500ms. I may have been in more of the 700ms range - will have to try again with 2 machines, so I can click more quickly without needing to move a cursor over.It's also good to know that this is happening when both avatars are on the same region - that rules out some possibilities of the other region using cached presence info for the agent who just logged out.
I'll try again to reproduce this, and do some debugging to see if the simulator is actually sending the
OnlineNotification
message that the friend is online, or if the viewer is generating the '[Friend] is online' message on its own.