Fix Issue 1273: Typing in Group Chat opens IM Window for other participants

Broken logic, my bad.
This commit is contained in:
Inusaito Sayori
2013-12-08 14:21:39 -05:00
parent 36d8df602c
commit a59940c592

View File

@@ -1390,7 +1390,7 @@ void LLFloaterIMPanel::sendTypingState(bool typing)
return;
// Don't want to send typing indicators to multiple people, potentially too
// much network traffic. Only send in person-to-person IMs.
if (mSessionType == P2P_SESSION) return;
if (mSessionType != P2P_SESSION) return;
std::string name;
gAgent.buildFullname(name);