diff options
Diffstat (limited to 'linden/indra/newview/llurldispatcher.cpp')
-rw-r--r-- | linden/indra/newview/llurldispatcher.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/linden/indra/newview/llurldispatcher.cpp b/linden/indra/newview/llurldispatcher.cpp index 460ffb2..0d6f6d7 100644 --- a/linden/indra/newview/llurldispatcher.cpp +++ b/linden/indra/newview/llurldispatcher.cpp | |||
@@ -402,6 +402,18 @@ std::string LLURLDispatcherImpl::stripProtocol(const std::string& url) | |||
402 | return stripped; | 402 | return stripped; |
403 | } | 403 | } |
404 | 404 | ||
405 | // static | ||
406 | std::string LLURLDispatcher::createGroupJoinLink(const LLUUID& group_id) | ||
407 | { | ||
408 | std::string slurl = ""; | ||
409 | if (group_id.notNull()) | ||
410 | { | ||
411 | //secondlife:///app/group/uuid/about | ||
412 | slurl = SLURL_SECONDLIFE_PREFIX + "/" + SLURL_APP_TOKEN + "group/" + group_id.asString() + "/about"; | ||
413 | } | ||
414 | return slurl; | ||
415 | } | ||
416 | |||
405 | //--------------------------------------------------------------------------- | 417 | //--------------------------------------------------------------------------- |
406 | // Teleportation links are handled here because they are tightly coupled | 418 | // Teleportation links are handled here because they are tightly coupled |
407 | // to URL parsing and sim-fragment parsing | 419 | // to URL parsing and sim-fragment parsing |