summaryrefslogtreecommitdiff
path: root/indra/newview/llconversationmodel.cpp
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2012-10-03 19:06:33 -0700
committerMerov Linden <merov@lindenlab.com>2012-10-03 19:06:33 -0700
commit5d846e141464f02a1d896ffa82d639f973f8044b (patch)
tree83a40564199327ccaf48a9aef58fe0e767e7cbc2 /indra/newview/llconversationmodel.cpp
parent7b158a074afc1f8aa87ce7e415400b6f04f0ee97 (diff)
CHUI-341 : Fixed. Took Nat's review comments into account.
Diffstat (limited to 'indra/newview/llconversationmodel.cpp')
-rw-r--r--indra/newview/llconversationmodel.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/indra/newview/llconversationmodel.cpp b/indra/newview/llconversationmodel.cpp
index 0f29ffe77f..3c111c919a 100644
--- a/indra/newview/llconversationmodel.cpp
+++ b/indra/newview/llconversationmodel.cpp
@@ -28,6 +28,7 @@
#include "llviewerprecompiledheaders.h"
#include "llevents.h"
+#include "llsdutil.h"
#include "llconversationmodel.h"
#include "llimview.h" //For LLIMModel
@@ -67,11 +68,7 @@ LLConversationItem::LLConversationItem(LLFolderViewModelInterface& root_view_mod
void LLConversationItem::postEvent(const std::string& event_type, LLConversationItemParticipant* participant)
{
- LLSD event;
- event["type"] = event_type;
- event["session_uuid"] = getUUID();
- event["participant_name"] = participant->getName();
- event["participant_uuid"] = participant->getUUID();
+ LLSD event(LLSDMap("type", event_type)("session_uuid", getUUID())("participant_name",participant->getName())("participant_uuid",participant->getUUID()));
LLEventPumps::instance().obtain("ConversationsEvents").post(event);
}