diff options
author | Merov Linden <merov@lindenlab.com> | 2014-09-16 10:39:23 -0700 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2014-09-16 10:39:23 -0700 |
commit | 1a334a1005d116b99eca45c1e4a1a475c9dba68d (patch) | |
tree | 2936669f108d49548c6c40b284bafc4a2f2ac668 /indra/newview/llmarketplacefunctions.cpp | |
parent | 221c184ebb5e20440cde974ac2bc5eab84690dd4 (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-x | indra/newview/llmarketplacefunctions.cpp | 12 |
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 |