diff options
author | Kent Quirk <q@lindenlab.com> | 2010-03-19 12:05:15 -0400 |
---|---|---|
committer | Kent Quirk <q@lindenlab.com> | 2010-03-19 12:05:15 -0400 |
commit | 1e50e4a13a37a236470e088c32c40ff62d46d497 (patch) | |
tree | 08c0d4ee106f40e8f2d11ab89df83bae7a6704f4 /indra/newview/llnotificationhandlerutil.cpp | |
parent | 637105e5cf346e5a88fe5820f36f6233b404d5aa (diff) | |
parent | 7d50a19d6cb46b60ba005280223522672736592d (diff) |
Merge
Diffstat (limited to 'indra/newview/llnotificationhandlerutil.cpp')
-rw-r--r-- | indra/newview/llnotificationhandlerutil.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llnotificationhandlerutil.cpp b/indra/newview/llnotificationhandlerutil.cpp index 55e0f33121..d3ad61128d 100644 --- a/indra/newview/llnotificationhandlerutil.cpp +++ b/indra/newview/llnotificationhandlerutil.cpp @@ -177,6 +177,14 @@ bool LLHandlerUtil::canAddNotifPanelToIM(const LLNotificationPtr& notification) } // static +bool LLHandlerUtil::isNotificationReusable(const LLNotificationPtr& notification) +{ + return OFFER_FRIENDSHIP == notification->getName() + || USER_GIVE_ITEM == notification->getName() + || TELEPORT_OFFERED == notification->getName(); +} + +// static bool LLHandlerUtil::canSpawnSessionAndLogToIM(const LLNotificationPtr& notification) { return canLogToIM(notification) && canSpawnIMSession(notification); |