summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaxim@mnikolenko <maxim@mnikolenko>2013-07-16 21:09:53 +0300
committermaxim@mnikolenko <maxim@mnikolenko>2013-07-16 21:09:53 +0300
commit1bdf5ae8719e16e36a59b90db00b1fb349b5b279 (patch)
tree2d61de98375d73f5d5a6e8f4a451bc5b3c277b30
parent2c5b265e3988c3d3f036ec9df6bd18bf86fc84f8 (diff)
MAINT-2386 Update group information before sending invite
-rwxr-xr-xindra/newview/llfloatergroupinvite.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llfloatergroupinvite.cpp b/indra/newview/llfloatergroupinvite.cpp
index 49da4e64b3..0c735dec1f 100755
--- a/indra/newview/llfloatergroupinvite.cpp
+++ b/indra/newview/llfloatergroupinvite.cpp
@@ -30,6 +30,7 @@
#include "llpanelgroupinvite.h"
#include "lltrans.h"
#include "lldraghandle.h"
+#include "llgroupmgr.h"
class LLFloaterGroupInvite::impl
{
@@ -123,6 +124,11 @@ void LLFloaterGroupInvite::showForGroup(const LLUUID& group_id, uuid_vec_t *agen
LLFloaterGroupInvite *fgi = get_if_there(impl::sInstances,
group_id,
(LLFloaterGroupInvite*)NULL);
+
+ // refresh group information
+ LLGroupMgr::getInstance()->clearGroupData(group_id);
+
+
if (!fgi)
{
fgi = new LLFloaterGroupInvite(group_id);