summaryrefslogtreecommitdiff
path: root/indra/llui/llurlentry.cpp
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2025-05-07 18:59:00 +0300
committerGitHub <noreply@github.com>2025-05-07 18:59:00 +0300
commit50108bf0b7953e1f44a13b0790fe8dd8e9f7d2ca (patch)
treee87e54e6f02c7065a63981eba6ce1d2ebbf7f1d7 /indra/llui/llurlentry.cpp
parented705097c430fa0962f879a79aa10a1a68ca12ce (diff)
#4011 Add conversation list highlight for chat mention
Diffstat (limited to 'indra/llui/llurlentry.cpp')
-rw-r--r--indra/llui/llurlentry.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llui/llurlentry.cpp b/indra/llui/llurlentry.cpp
index 7218211a44..bcd13b7f0b 100644
--- a/indra/llui/llurlentry.cpp
+++ b/indra/llui/llurlentry.cpp
@@ -630,6 +630,11 @@ LLUUID LLUrlEntryAgent::getID(const std::string &string) const
return LLUUID(getIDStringFromUrl(string));
}
+bool LLUrlEntryAgent::isAgentID(const std::string& url) const
+{
+ return sAgentID == getID(url);
+}
+
std::string LLUrlEntryAgent::getTooltip(const std::string &string) const
{
// return a tooltip corresponding to the URL type instead of the generic one