Update and Sync Mutelist with upstream alchemy
Satisfies the feature request for mute toggle to display mute status Adds dynamic mute/unmute option to P2P IM dropdown. Translators should look into the changes made in this commit for: floater_chat_history.xml, floater_instant_message.xml, floater_instant_message_concisebuttons.xml panel_avatar.xml has been taken care of for spanish and french, although they should be looked into more closely by the translators. Cleanup and Sync in related places~ Removal of old static callbacks. Moves God Names logic into LFSimFeatureHandler Adds a custom function LLMuteList::hasMute() for quickly checking if a mute is in the internal set.
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
#include "llcallingcard.h"
|
||||
#include "llfloater.h"
|
||||
#include "lllogchat.h"
|
||||
#include "llmutelist.h"
|
||||
|
||||
class LLAvatarName;
|
||||
class LLIMSpeakerMgr;
|
||||
@@ -46,7 +47,7 @@ class LLParticipantList;
|
||||
class LLViewerTextEditor;
|
||||
class LLVoiceChannel;
|
||||
|
||||
class LLFloaterIMPanel : public LLFloater, public LLFriendObserver
|
||||
class LLFloaterIMPanel : public LLFloater, public LLFriendObserver, public LLMuteListObserver
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -65,6 +66,8 @@ public:
|
||||
void onAvatarNameLookup(const LLAvatarName& avatar_name);
|
||||
|
||||
/*virtual*/ void changed(U32 mask); // From LLFriendObserver, check friend status
|
||||
/*virtual*/ void onChange() {}
|
||||
/*virtual*/ void onChangeDetailed(const LLMute& mute); // From LLMuteListObserver, check for mute status changes for OtherParticipant
|
||||
/*virtual*/ BOOL postBuild();
|
||||
|
||||
// Check typing timeout timer.
|
||||
|
||||
Reference in New Issue
Block a user