summaryrefslogtreecommitdiff
path: root/indra/newview/llavataractions.h
diff options
context:
space:
mode:
authorAimee Linden <aimee@lindenlab.com>2010-07-22 17:46:47 +0100
committerAimee Linden <aimee@lindenlab.com>2010-07-22 17:46:47 +0100
commit047b74c4f4727c41ae1086d18a12a9cf5aad5fce (patch)
tree8e53d2fd7d4bfba87341ab7a1f1d2627c3fa82f8 /indra/newview/llavataractions.h
parent01d06a3572c533f810f8f42e7ae9c55051f34aaf (diff)
EXT-8248 FIXED Can't teleport multiple friends
Diffstat (limited to 'indra/newview/llavataractions.h')
-rw-r--r--indra/newview/llavataractions.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/indra/newview/llavataractions.h b/indra/newview/llavataractions.h
index cd8ac3b653..6313ae0759 100644
--- a/indra/newview/llavataractions.h
+++ b/indra/newview/llavataractions.h
@@ -171,12 +171,18 @@ public:
static void csr(const LLUUID& id, std::string name);
/**
- * Checks whether can offer teleport to the avatar
- * Can't offer only for offline friends
+ * Checks whether we can offer a teleport to the avatar, only offline friends
+ * cannot be offered a teleport.
+ *
+ * @return false if avatar is a friend and not visibly online
*/
static bool canOfferTeleport(const LLUUID& id);
-
+ /**
+ * @return false if any one of the specified avatars a friend and not visibly online
+ */
+ static bool canOfferTeleport(const uuid_vec_t& ids);
+
private:
static bool callbackAddFriend(const LLSD& notification, const LLSD& response);
static bool callbackAddFriendWithMessage(const LLSD& notification, const LLSD& response);