From 25e877593a95d38f642f22db8e1ff299c8fbef4e Mon Sep 17 00:00:00 2001 From: Latif Khalifa Date: Tue, 30 Jun 2009 23:51:20 +0000 Subject: [PATCH] LIBOMV-613 add requestID to GroupTitlesCallback too git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2941 52acb1d6-8a22-11de-b505-999d5b087335 --- OpenMetaverse/GroupManager.cs | 5 +++-- Programs/examples/groupmanager/frmGroupInfo.cs | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/OpenMetaverse/GroupManager.cs b/OpenMetaverse/GroupManager.cs index c3569b80..c9035e16 100644 --- a/OpenMetaverse/GroupManager.cs +++ b/OpenMetaverse/GroupManager.cs @@ -475,10 +475,11 @@ namespace OpenMetaverse /// /// Callback for the title list of a group /// + /// of the request returned from RequestGroupTitles /// Group /// A dictionary containing the titles of a group /// where the Key is the role , and the values are the title details - public delegate void GroupTitlesCallback(UUID groupID, Dictionary titles); + public delegate void GroupTitlesCallback(UUID requestID, UUID groupID, Dictionary titles); /// /// Callback fired when group account summary information is received @@ -1225,7 +1226,7 @@ namespace OpenMetaverse groupTitleCache[block.RoleID] = groupTitle; } - try { OnGroupTitles(titles.AgentData.GroupID, groupTitleCache); } + try { OnGroupTitles(titles.AgentData.RequestID, titles.AgentData.GroupID, groupTitleCache); } catch (Exception e) { Logger.Log(e.Message, Helpers.LogLevel.Error, Client, e); } } } diff --git a/Programs/examples/groupmanager/frmGroupInfo.cs b/Programs/examples/groupmanager/frmGroupInfo.cs index 638dcb90..7dc0a688 100644 --- a/Programs/examples/groupmanager/frmGroupInfo.cs +++ b/Programs/examples/groupmanager/frmGroupInfo.cs @@ -255,7 +255,7 @@ namespace groupmanager } } - private void GroupTitlesHandler(UUID groupID, Dictionary titles) + private void GroupTitlesHandler(UUID requestID, UUID groupID, Dictionary titles) { Titles = titles;