diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llviewermessage.cpp | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/linden/indra/newview/llviewermessage.cpp b/linden/indra/newview/llviewermessage.cpp index 35fd669..76c1508 100644 --- a/linden/indra/newview/llviewermessage.cpp +++ b/linden/indra/newview/llviewermessage.cpp | |||
@@ -140,6 +140,7 @@ | |||
140 | 140 | ||
141 | #include "llwlparammanager.h" | 141 | #include "llwlparammanager.h" |
142 | #include "llwaterparammanager.h" | 142 | #include "llwaterparammanager.h" |
143 | #include "panelradarentry.h" | ||
143 | 144 | ||
144 | #include <boost/tokenizer.hpp> | 145 | #include <boost/tokenizer.hpp> |
145 | #include <boost/regex.hpp> // Boost Reg Expresions | 146 | #include <boost/regex.hpp> // Boost Reg Expresions |
@@ -2785,7 +2786,11 @@ void process_chat_from_simulator(LLMessageSystem *msg, void **user_data) | |||
2785 | 2786 | ||
2786 | if (LLFloaterMap::getInstance()) | 2787 | if (LLFloaterMap::getInstance()) |
2787 | { | 2788 | { |
2788 | LLFloaterMap::getInstance()->getRadar()->addToTypingList(from_id); | 2789 | PanelRadarEntry* entry = LLFloaterMap::getInstance()->getRadar()->getEntry(from_id); |
2790 | if (entry) | ||
2791 | { | ||
2792 | entry->setStatus(RADAR_STATUS_TYPING); | ||
2793 | } | ||
2789 | } | 2794 | } |
2790 | 2795 | ||
2791 | return; | 2796 | return; |
@@ -2802,7 +2807,11 @@ void process_chat_from_simulator(LLMessageSystem *msg, void **user_data) | |||
2802 | 2807 | ||
2803 | if (LLFloaterMap::getInstance()) | 2808 | if (LLFloaterMap::getInstance()) |
2804 | { | 2809 | { |
2805 | LLFloaterMap::getInstance()->getRadar()->removeFromTypingList(from_id); | 2810 | PanelRadarEntry* entry = LLFloaterMap::getInstance()->getRadar()->getEntry(from_id); |
2811 | if (entry) | ||
2812 | { | ||
2813 | entry->setStatus(RADAR_STATUS_NONE); | ||
2814 | } | ||
2806 | } | 2815 | } |
2807 | 2816 | ||
2808 | return; | 2817 | return; |