summaryrefslogtreecommitdiff
path: root/indra/newview/llmarketplacefunctions.cpp
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2014-09-16 10:39:23 -0700
committerMerov Linden <merov@lindenlab.com>2014-09-16 10:39:23 -0700
commit1a334a1005d116b99eca45c1e4a1a475c9dba68d (patch)
tree2936669f108d49548c6c40b284bafc4a2f2ac668 /indra/newview/llmarketplacefunctions.cpp
parent221c184ebb5e20440cde974ac2bc5eab84690dd4 (diff)
DD-23 : WIP : Catch the SLM_UPDATE_FOLDER notification and trigger the GET /listing route so to get the updated SLM status for the listing
Diffstat (limited to 'indra/newview/llmarketplacefunctions.cpp')
-rwxr-xr-xindra/newview/llmarketplacefunctions.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/indra/newview/llmarketplacefunctions.cpp b/indra/newview/llmarketplacefunctions.cpp
index 650b587091..794bb62834 100755
--- a/indra/newview/llmarketplacefunctions.cpp
+++ b/indra/newview/llmarketplacefunctions.cpp
@@ -1372,6 +1372,18 @@ bool LLMarketplaceData::getListing(const LLUUID& folder_id)
return true;
}
+bool LLMarketplaceData::getListing(S32 listing_id)
+{
+ if (listing_id == 0)
+ {
+ return false;
+ }
+
+ // Get listing data from SLM
+ getSLMListing(listing_id);
+ return true;
+}
+
bool LLMarketplaceData::activateListing(const LLUUID& folder_id, bool activate)
{
// Folder id can be the root of the listing or not so we need to retrieve the root first