Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
XDG Integration
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
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
JennaHuntsman
XDG Integration
Commits
bb28e9e4
Commit
bb28e9e4
authored
2 years ago
by
Andrey Lihatskiy
Browse files
Options
Downloads
Patches
Plain Diff
DRTVWR-573 post-merge buildfix
parent
f9866a35
No related branches found
Branches containing commit
No related tags found
2 merge requests
!3
Update to main branch
,
!2
Rebase onto current main branch
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
indra/newview/llimview.cpp
+4
-3
4 additions, 3 deletions
indra/newview/llimview.cpp
indra/newview/llimview.h
+2
-2
2 additions, 2 deletions
indra/newview/llimview.h
with
6 additions
and
5 deletions
indra/newview/llimview.cpp
+
4
−
3
View file @
bb28e9e4
...
...
@@ -1224,7 +1224,7 @@ void LLIMModel::proccessOnlineOfflineNotification(
}
void
LLIMModel
::
addMessage
(
const
LLUUID
&
session_id
,
const
std
::
string
&
from
,
const
LLUUID
&
from_id
,
const
std
::
string
&
utf8_text
,
bool
log2file
/* = true */
)
{
const
std
::
string
&
utf8_text
,
bool
log2file
/* = true
*/
,
bool
is_region_msg
/* = false
*/
)
{
if
(
gSavedSettings
.
getBOOL
(
"TranslateChat"
)
&&
(
from
!=
SYSTEM_FROM
))
{
...
...
@@ -1237,12 +1237,12 @@ void LLIMModel::addMessage(const LLUUID& session_id, const std::string& from, co
}
else
{
processAddingMessage
(
session_id
,
from
,
from_id
,
utf8_text
,
log2file
);
processAddingMessage
(
session_id
,
from
,
from_id
,
utf8_text
,
log2file
,
is_region_msg
);
}
}
void
LLIMModel
::
processAddingMessage
(
const
LLUUID
&
session_id
,
const
std
::
string
&
from
,
const
LLUUID
&
from_id
,
const
std
::
string
&
utf8_text
,
bool
log2file
/* = true */
)
const
std
::
string
&
utf8_text
,
bool
log2file
/* = true
*/
,
bool
is_region_msg
/* = false
*/
)
{
LLIMSession
*
session
=
addMessageSilently
(
session_id
,
from
,
from_id
,
utf8_text
,
log2file
);
if
(
!
session
)
return
;
...
...
@@ -1263,6 +1263,7 @@ void LLIMModel::processAddingMessage(const LLUUID& session_id, const std::string
arg
[
"from_id"
]
=
from_id
;
arg
[
"time"
]
=
LLLogChat
::
timestamp
(
false
);
arg
[
"session_type"
]
=
session
->
mSessionType
;
arg
[
"is_region_msg"
]
=
is_region_msg
;
mNewMsgSignal
(
arg
);
}
...
...
This diff is collapsed.
Click to expand it.
indra/newview/llimview.h
+
2
−
2
View file @
bb28e9e4
...
...
@@ -208,8 +208,8 @@ class LLIMModel : public LLSingleton<LLIMModel>
* and also saved into a file if log2file is specified.
* It sends new message signal for each added message.
*/
void
addMessage
(
const
LLUUID
&
session_id
,
const
std
::
string
&
from
,
const
LLUUID
&
other_participant
_id
,
const
std
::
string
&
utf8_text
,
bool
log2file
=
true
,
bool
is_region_msg
=
false
);
void
processAddingMessage
(
const
LLUUID
&
session_id
,
const
std
::
string
&
from
,
const
LLUUID
&
other_participant
_id
,
const
std
::
string
&
utf8_text
,
bool
log2file
=
true
);
void
addMessage
(
const
LLUUID
&
session_id
,
const
std
::
string
&
from
,
const
LLUUID
&
from
_id
,
const
std
::
string
&
utf8_text
,
bool
log2file
=
true
,
bool
is_region_msg
=
false
);
void
processAddingMessage
(
const
LLUUID
&
session_id
,
const
std
::
string
&
from
,
const
LLUUID
&
from
_id
,
const
std
::
string
&
utf8_text
,
bool
log2file
=
true
,
bool
is_region_msg
=
false
);
/**
* Similar to addMessage(...) above but won't send a signal about a new message added
...
...
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