Don't copy around strings and UUIDs, LL... pls
This commit is contained in:
@@ -514,22 +514,22 @@ bool group_vote_callback(const LLSD& notification, const LLSD& response)
|
|||||||
}
|
}
|
||||||
static LLNotificationFunctorRegistration group_vote_callback_reg("GroupVote", group_vote_callback);
|
static LLNotificationFunctorRegistration group_vote_callback_reg("GroupVote", group_vote_callback);
|
||||||
|
|
||||||
void LLIMProcessing::processNewMessage(LLUUID from_id,
|
void LLIMProcessing::processNewMessage(const LLUUID& from_id,
|
||||||
BOOL from_group,
|
BOOL from_group,
|
||||||
LLUUID to_id,
|
const LLUUID& to_id,
|
||||||
U8 offline,
|
U8 offline,
|
||||||
EInstantMessage dialog, // U8
|
EInstantMessage dialog, // U8
|
||||||
LLUUID session_id,
|
const LLUUID& session_id,
|
||||||
U32 timestamp,
|
U32 timestamp,
|
||||||
std::string name,
|
std::string& name,
|
||||||
std::string message,
|
std::string& message,
|
||||||
U32 parent_estate_id,
|
U32 parent_estate_id,
|
||||||
LLUUID region_id,
|
const LLUUID& region_id,
|
||||||
LLVector3 position,
|
LLVector3 position,
|
||||||
U8 *binary_bucket,
|
U8 *binary_bucket,
|
||||||
S32 binary_bucket_size,
|
S32 binary_bucket_size,
|
||||||
LLHost &sender,
|
LLHost &sender,
|
||||||
LLUUID aux_id)
|
const LLUUID& aux_id)
|
||||||
{
|
{
|
||||||
LLChat chat;
|
LLChat chat;
|
||||||
std::string buffer;
|
std::string buffer;
|
||||||
|
|||||||
@@ -38,22 +38,22 @@ class LLIMProcessing
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
// Pre-process message for IM manager
|
// Pre-process message for IM manager
|
||||||
static void processNewMessage(LLUUID from_id,
|
static void processNewMessage(const LLUUID& from_id,
|
||||||
BOOL from_group,
|
BOOL from_group,
|
||||||
LLUUID to_id,
|
const LLUUID& to_id,
|
||||||
U8 offline,
|
U8 offline,
|
||||||
EInstantMessage dialog, // U8
|
EInstantMessage dialog, // U8
|
||||||
LLUUID session_id,
|
const LLUUID& session_id,
|
||||||
U32 timestamp,
|
U32 timestamp,
|
||||||
std::string agentName,
|
std::string& agentName,
|
||||||
std::string message,
|
std::string& message,
|
||||||
U32 parent_estate_id,
|
U32 parent_estate_id,
|
||||||
LLUUID region_id,
|
const LLUUID& region_id,
|
||||||
LLVector3 position,
|
LLVector3 position,
|
||||||
U8 *binary_bucket,
|
U8 *binary_bucket,
|
||||||
S32 binary_bucket_size,
|
S32 binary_bucket_size,
|
||||||
LLHost &sender,
|
LLHost &sender,
|
||||||
LLUUID aux_id = LLUUID::null);
|
const LLUUID& aux_id = LLUUID::null);
|
||||||
|
|
||||||
// Either receives list of offline messages from 'ReadOfflineMsgs' capability
|
// Either receives list of offline messages from 'ReadOfflineMsgs' capability
|
||||||
// or uses legacy method
|
// or uses legacy method
|
||||||
|
|||||||
Reference in New Issue
Block a user