Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
575ebaa4
Commit
575ebaa4
authored
2 years ago
by
Rye Mutt
Browse files
Options
Downloads
Patches
Plain Diff
Allow overriding SYSTEM_FROM for other grids
parent
7df84e4c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
indra/llmessage/llinstantmessage.cpp
+1
-1
1 addition, 1 deletion
indra/llmessage/llinstantmessage.cpp
indra/llmessage/llinstantmessage.h
+1
-1
1 addition, 1 deletion
indra/llmessage/llinstantmessage.h
indra/newview/llviewernetwork.cpp
+8
-0
8 additions, 0 deletions
indra/newview/llviewernetwork.cpp
with
10 additions
and
2 deletions
indra/llmessage/llinstantmessage.cpp
+
1
−
1
View file @
575ebaa4
...
...
@@ -46,7 +46,7 @@ const U8 IM_OFFLINE = 1;
const
char
EMPTY_BINARY_BUCKET
[]
=
""
;
const
S32
EMPTY_BINARY_BUCKET_SIZE
=
1
;
const
U32
NO_TIMESTAMP
=
0
;
const
std
::
string
SYSTEM_FROM
(
"Second Life"
);
std
::
string
SYSTEM_FROM
(
"Second Life"
);
const
std
::
string
INTERACTIVE_SYSTEM_FROM
(
"F387446C-37C4-45f2-A438-D99CBDBB563B"
);
const
S32
IM_TTL
=
1
;
...
...
This diff is collapsed.
Click to expand it.
indra/llmessage/llinstantmessage.h
+
1
−
1
View file @
575ebaa4
...
...
@@ -171,7 +171,7 @@ extern const char EMPTY_BINARY_BUCKET[];
extern
const
S32
EMPTY_BINARY_BUCKET_SIZE
;
extern
const
U32
NO_TIMESTAMP
;
extern
const
std
::
string
SYSTEM_FROM
;
extern
std
::
string
SYSTEM_FROM
;
extern
const
std
::
string
INTERACTIVE_SYSTEM_FROM
;
// Number of retry attempts on sending the im.
...
...
This diff is collapsed.
Click to expand it.
indra/newview/llviewernetwork.cpp
+
8
−
0
View file @
575ebaa4
...
...
@@ -696,6 +696,14 @@ void LLGridManager::setGridChoice(const std::string& grid, const bool only_selec
gSavedSettings
.
setString
(
"CurrentGrid"
,
grid_name
);
LLTrans
::
setDefaultArg
(
"CURRENT_GRID"
,
getGridLabel
());
LLTrans
::
setDefaultArg
(
"GRID_ADMIN"
,
getGridAdministrator
());
if
(
isInSecondlife
())
{
SYSTEM_FROM
=
"Second Life"
;
}
else
{
SYSTEM_FROM
=
"Grid"
;
}
updateIsInProductionGrid
();
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment