Skip to content
Snippets Groups Projects
Commit 1bdf5ae8 authored by maxim@mnikolenko's avatar maxim@mnikolenko
Browse files

MAINT-2386 Update group information before sending invite

parent 2c5b265e
No related branches found
No related tags found
No related merge requests found
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
#include "llpanelgroupinvite.h" #include "llpanelgroupinvite.h"
#include "lltrans.h" #include "lltrans.h"
#include "lldraghandle.h" #include "lldraghandle.h"
#include "llgroupmgr.h"
class LLFloaterGroupInvite::impl class LLFloaterGroupInvite::impl
{ {
...@@ -123,6 +124,11 @@ void LLFloaterGroupInvite::showForGroup(const LLUUID& group_id, uuid_vec_t *agen ...@@ -123,6 +124,11 @@ void LLFloaterGroupInvite::showForGroup(const LLUUID& group_id, uuid_vec_t *agen
LLFloaterGroupInvite *fgi = get_if_there(impl::sInstances, LLFloaterGroupInvite *fgi = get_if_there(impl::sInstances,
group_id, group_id,
(LLFloaterGroupInvite*)NULL); (LLFloaterGroupInvite*)NULL);
// refresh group information
LLGroupMgr::getInstance()->clearGroupData(group_id);
if (!fgi) if (!fgi)
{ {
fgi = new LLFloaterGroupInvite(group_id); fgi = new LLFloaterGroupInvite(group_id);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment