diff options
| author | pepper <3782201+rohvani@users.noreply.github.com> | 2026-08-13 17:17:33 -0400 |
|---|---|---|
| committer | pepper <3782201+rohvani@users.noreply.github.com> | 2026-08-13 17:17:33 -0400 |
| commit | e122b680a28d3f6b0c5c5ff6fff1b4e3d3b60000 (patch) | |
| tree | 87fb5f37859a4f54c9fd7a1c4f1a9d62dbb2ca33 /indra/newview/llimview.cpp | |
| parent | e3c57f57c7585c1cf99d4b86fd70b06b1ce2b58d (diff) | |
Discover new outbound ChatService conversations
Arm a bounded discovery confirmation when the first direct IM is sent to a resident absent from the validated conversation list. Preserve the existing priority placeholder across the first validated miss, then retry the shared list path after the manager-wide delay.
Leave listed conversations and inbound priority behavior unchanged, and retire the unresolved candidate after a second miss so no general live-message debounce or parallel scheduler is introduced.
Validated with the RelWithDebInfo secondlife-bin build and the LLChatServiceHistoryCore test suite.
Diffstat (limited to 'indra/newview/llimview.cpp')
| -rw-r--r-- | indra/newview/llimview.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp index aad4c4f5eb..da3d2b243a 100644 --- a/indra/newview/llimview.cpp +++ b/indra/newview/llimview.cpp @@ -2263,6 +2263,13 @@ void LLIMModel::sendMessage(const std::string& utf8_text, if((dialog == IM_NOTHING_SPECIAL) && (other_participant_id.notNull())) { + // The packet has been sent; only an as-yet undiscovered direct conversation + // needs a bounded list confirmation. Listed conversations gain no refresh. + if (session && session->isP2PSessionType()) + { + LLChatServiceHistory::noteOutboundDirectMessage(other_participant_id); + } + // Do we have to replace the /me's here? std::string from; LLAgentUI::buildFullname(from); |
