summaryrefslogtreecommitdiff
path: root/indra/newview/llimview.cpp
diff options
context:
space:
mode:
authorIgor Borovkov <iborovkov@productengine.com>2009-12-23 14:40:52 +0200
committerIgor Borovkov <iborovkov@productengine.com>2009-12-23 14:40:52 +0200
commitd07fd64b6fc3f4c6af648ec43b84cd82c7e62fc6 (patch)
tree17059acefad953dcbe05d9e9c60e46f0e5af8650 /indra/newview/llimview.cpp
parent3f43e07b33942c54bf81aac1d466c3eb771b8a8d (diff)
finished EXT-1912 Add handling restrictions of PSTN P2P calls in new IM Floaters
chiclets for avaline calls are not spawned anymore --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llimview.cpp')
-rw-r--r--indra/newview/llimview.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp
index d209060b58..3345f7d0bf 100644
--- a/indra/newview/llimview.cpp
+++ b/indra/newview/llimview.cpp
@@ -483,6 +483,17 @@ bool LLIMModel::LLIMSession::isAdHoc()
return IM_SESSION_CONFERENCE_START == mType || (IM_SESSION_INVITE == mType && !gAgent.isInGroup(mSessionID));
}
+bool LLIMModel::LLIMSession::isP2P()
+{
+ return IM_NOTHING_SPECIAL == mType;
+}
+
+bool LLIMModel::LLIMSession::isOtherParticipantAvaline()
+{
+ return !mOtherParticipantIsAvatar;
+}
+
+
void LLIMModel::processSessionInitializedReply(const LLUUID& old_session_id, const LLUUID& new_session_id)
{
LLIMSession* session = findIMSession(old_session_id);