Skip to content

Fix for IM session name and icon. #2959

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 25, 2024
Merged

Conversation

Rider-Linden
Copy link
Contributor

@Rider-Linden Rider-Linden commented Oct 25, 2024

Adds optional parameters to addMessage which allow the function to override the icon and session name used for the chat while correctly naming and constructing the chat session.

See https://github.com/secondlife/server/pull/1519#issuecomment-2438596546 for issues addressed.

…essage on behalf of the system, optionally specify the agent id and name that should be used.
@Rider-Linden Rider-Linden merged commit b573ee4 into develop Oct 25, 2024
9 checks passed
@Rider-Linden Rider-Linden deleted the rider/fix_bot_im_session branch October 25, 2024 23:42
@github-actions github-actions bot locked and limited conversation to collaborators Oct 25, 2024
@@ -3241,7 +3248,7 @@ void LLIMMgr::addMessage(
}

//Play sound for new conversations
if (!skip_message & !gAgent.isDoNotDisturb() && (gSavedSettings.getBOOL("PlaySoundNewConversation")))
if (!skip_message && !gAgent.isDoNotDisturb() && (gSavedSettings.getBOOL("PlaySoundNewConversation")))
Copy link
Contributor

@akleshchev akleshchev Oct 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMs aren't frequent, but probably better to use LLCachedControl here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants