diff options
| author | mberezhnoy <mberezhnoy@productengine.com> | 2013-06-13 20:21:24 +0300 |
|---|---|---|
| committer | mberezhnoy <mberezhnoy@productengine.com> | 2013-06-13 20:21:24 +0300 |
| commit | 882ab04ef3e412716f0f034e348007b5f3016f3c (patch) | |
| tree | 99f75c9b55a652f0709e64193512b4c43fe180c5 /indra/llui/llurlaction.cpp | |
| parent | 452832b26f0d4c4e94da7ebd9b98f2fc337950c3 (diff) | |
CHUI-809 (Right-click menu on user name in compat chat mode doesn't have "IM")
Added callback for friendship checking
Diffstat (limited to 'indra/llui/llurlaction.cpp')
| -rwxr-xr-x | indra/llui/llurlaction.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/llui/llurlaction.cpp b/indra/llui/llurlaction.cpp index f51aeaec13..cf707d87dc 100755 --- a/indra/llui/llurlaction.cpp +++ b/indra/llui/llurlaction.cpp @@ -188,3 +188,11 @@ void LLUrlAction::addFriend(std::string url) } } +void LLUrlAction::removeFriend(std::string url) +{ + std::string id_str = getUserID(url); + if (LLUUID::validate(id_str)) + { + executeSLURL("secondlife:///app/agent/" + id_str + "/removefriend"); + } +} |
