summaryrefslogtreecommitdiff
path: root/indra/newview/llvoicecallhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llvoicecallhandler.cpp')
-rw-r--r--indra/newview/llvoicecallhandler.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llvoicecallhandler.cpp b/indra/newview/llvoicecallhandler.cpp
index 8c1fa927c6..8386f72abb 100644
--- a/indra/newview/llvoicecallhandler.cpp
+++ b/indra/newview/llvoicecallhandler.cpp
@@ -38,6 +38,11 @@ public:
{
}
+ virtual bool canHandleUntrusted(const LLSD &params, const LLSD &query_map, LLMediaCtrl *web, const std::string &nav_type)
+ {
+ return (nav_type == NAV_TYPE_CLICKED || nav_type == NAV_TYPE_EXTERNAL);
+ }
+
bool handle(const LLSD& params, const LLSD& query_map, const std::string& grid, LLMediaCtrl* web)
{
if (!LLUI::getInstance()->mSettingGroups["config"]->getBOOL("EnableVoiceCall"))