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
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
Alchemy Archive
Alchemy Viewer
Commits
45afaf71
Commit
45afaf71
authored
11 years ago
by
Kitty Barnett
Browse files
Options
Downloads
Patches
Plain Diff
- internal : comment out dead code that would start an IM session
--HG-- branch : RLVa
parent
7d012cb3
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
indra/newview/llnotificationhandler.h
+4
-4
4 additions, 4 deletions
indra/newview/llnotificationhandler.h
indra/newview/llnotificationhandlerutil.cpp
+9
-9
9 additions, 9 deletions
indra/newview/llnotificationhandlerutil.cpp
with
13 additions
and
13 deletions
indra/newview/llnotificationhandler.h
+
4
−
4
View file @
45afaf71
...
...
@@ -346,10 +346,10 @@ public:
*/
static
void
updateIMFLoaterMesages
(
const
LLUUID
&
session_id
);
/**
* Updates messages of visible IM floater.
*/
static
void
updateVisibleIMFLoaterMesages
(
const
LLNotificationPtr
&
notification
);
//
/**
//
* Updates messages of visible IM floater.
//
*/
//
static void updateVisibleIMFLoaterMesages(const LLNotificationPtr& notification);
/**
* Decrements counter of IM messages.
...
...
This diff is collapsed.
Click to expand it.
indra/newview/llnotificationhandlerutil.cpp
+
9
−
9
View file @
45afaf71
...
...
@@ -260,15 +260,15 @@ void LLHandlerUtil::updateIMFLoaterMesages(const LLUUID& session_id)
}
}
// static
void
LLHandlerUtil
::
updateVisibleIMFLoaterMesages
(
const
LLNotificationPtr
&
notification
)
{
const
std
::
string
name
=
LLHandlerUtil
::
getSubstitutionName
(
notification
);
LLUUID
from_id
=
notification
->
getPayload
()[
"from_id"
];
LLUUID
session_id
=
spawnIMSession
(
name
,
from_id
);
updateIMFLoaterMesages
(
session_id
);
}
//
// static
//
void LLHandlerUtil::updateVisibleIMFLoaterMesages(const LLNotificationPtr& notification)
//
{
//
const std::string name = LLHandlerUtil::getSubstitutionName(notification);
//
LLUUID from_id = notification->getPayload()["from_id"];
//
LLUUID session_id = spawnIMSession(name, from_id);
//
//
updateIMFLoaterMesages(session_id);
//
}
// static
void
LLHandlerUtil
::
decIMMesageCounter
(
const
LLNotificationPtr
&
notification
)
...
...
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