[LLIMMgr/LLIMPanel Revision] Compile Fixies
How did these even
This commit is contained in:
@@ -647,7 +647,7 @@ private:
|
||||
LLUUID mSessionID;
|
||||
};
|
||||
|
||||
BOOL LLFloaterIMPanel::inviteToSession(const LLDynamicArray<LLUUID>& ids)
|
||||
bool LLFloaterIMPanel::inviteToSession(const LLDynamicArray<LLUUID>& ids)
|
||||
{
|
||||
LLViewerRegion* region = gAgent.getRegion();
|
||||
if (!region)
|
||||
|
||||
@@ -108,6 +108,13 @@ public:
|
||||
//callbacks for P2P muting and volume control
|
||||
void onClickMuteVoice();
|
||||
|
||||
enum SType
|
||||
{
|
||||
P2P_SESSION,
|
||||
GROUP_SESSION,
|
||||
ADHOC_SESSION
|
||||
};
|
||||
const SType& getSessionType() const { return mSessionType; }
|
||||
const LLUUID& getSessionID() const { return mSessionUUID; }
|
||||
void processSessionUpdate(const LLSD& update);
|
||||
LLVoiceChannel* getVoiceChannel() { return mVoiceChannel; }
|
||||
@@ -174,12 +181,6 @@ private:
|
||||
// Where does the "Starting session..." line start?
|
||||
S32 mSessionStartMsgPos;
|
||||
|
||||
enum SType
|
||||
{
|
||||
P2P_SESSION,
|
||||
GROUP_SESSION,
|
||||
ADHOC_SESSION
|
||||
};
|
||||
SType mSessionType;
|
||||
|
||||
// The value of the mSessionUUID depends on how the IM session was started:
|
||||
|
||||
@@ -2938,7 +2938,7 @@ void process_improved_im(LLMessageSystem *msg, void **user_data)
|
||||
|
||||
if ( (gRlvHandler.hasBehaviour(RLV_BHVR_RECVIM)) || (gRlvHandler.hasBehaviour(RLV_BHVR_RECVIMFROM)) )
|
||||
{
|
||||
switch (pIMFloater->mSessionType)
|
||||
switch (pIMFloater->getSessionType())
|
||||
{
|
||||
case LLFloaterIMPanel::GROUP_SESSION: // Group chat
|
||||
if ( (from_id != gAgent.getID()) && (!gRlvHandler.canReceiveIM(session_id)) )
|
||||
|
||||
Reference in New Issue
Block a user