summaryrefslogtreecommitdiff
path: root/indra/newview/llnotificationhandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llnotificationhandler.h')
-rw-r--r--indra/newview/llnotificationhandler.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/indra/newview/llnotificationhandler.h b/indra/newview/llnotificationhandler.h
index a259a4b248..0099adca88 100644
--- a/indra/newview/llnotificationhandler.h
+++ b/indra/newview/llnotificationhandler.h
@@ -287,17 +287,20 @@ public:
/**
* Writes notification message to IM session.
+ * notification_id links a text fallback to its inline offer, when present.
*/
static void logToIM(const EInstantMessage& session_type,
const std::string& session_name, const std::string& from_name,
const std::string& message, const LLUUID& session_owner_id,
- const LLUUID& from_id);
+ const LLUUID& from_id, const LLUUID& notification_id = LLUUID::null);
/**
* Writes notification message to IM p2p session.
*/
- static void logToIMP2P(const LLNotificationPtr& notification, bool to_file_only = false);
- static void logToIMP2P(const LLUUID& from_id, const std::string& message, bool to_file_only = false);
+ static void logToIMP2P(const LLNotificationPtr& notification, bool to_file_only = false,
+ const LLUUID& notification_id = LLUUID::null);
+ static void logToIMP2P(const LLUUID& from_id, const std::string& message, bool to_file_only = false,
+ const LLUUID& notification_id = LLUUID::null);
/**
* Writes group notice notification message to IM group session.