summaryrefslogtreecommitdiff
path: root/indra/newview/llavatariconctrl.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-07-25 00:13:27 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-07-25 00:15:37 +0300
commit37a6b6411c0ad86fecd1bf71f7874c2d74a5a121 (patch)
tree37250e53c6d707856f6807b0be48e0f847cbf85f /indra/newview/llavatariconctrl.cpp
parent4a19e601eadb8d635c65118c5b65e4d24b9bbaee (diff)
SL-18058 Updated profile picture not shown in Conversation floater
Diffstat (limited to 'indra/newview/llavatariconctrl.cpp')
-rw-r--r--indra/newview/llavatariconctrl.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llavatariconctrl.cpp b/indra/newview/llavatariconctrl.cpp
index c131dc641b..44bf698caa 100644
--- a/indra/newview/llavatariconctrl.cpp
+++ b/indra/newview/llavatariconctrl.cpp
@@ -247,6 +247,11 @@ void LLAvatarIconCtrl::setValue(const LLSD& value)
app->addObserver(mAvatarId, this);
app->sendAvatarPropertiesRequest(mAvatarId);
}
+ else if (gAgentID == mAvatarId)
+ {
+ // Always track any changes to our own icon id
+ app->addObserver(mAvatarId, this);
+ }
}
}
else