projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecded83
)
mod_groups: Persist changes to mod_groups contacts (e.g. moving groups)
author
Christian Haase
<c.haase@ifu.com>
Sun, 5 Jun 2011 11:18:24 +0000
(12:18 +0100)
committer
Christian Haase
<c.haase@ifu.com>
Sun, 5 Jun 2011 11:18:24 +0000
(12:18 +0100)
plugins/mod_groups.lua
patch
|
blob
|
history
diff --git
a/plugins/mod_groups.lua
b/plugins/mod_groups.lua
index 7a876f1d6845a67f4e69f57d4564cdd73e086176..90c18fa1c0514c0bc224220b03eca0dac9999311 100644
(file)
--- a/
plugins/mod_groups.lua
+++ b/
plugins/mod_groups.lua
@@
-34,9
+34,9
@@
function inject_roster_contacts(username, host, roster)
end
if not roster[jid].groups then
roster[jid].groups = { [group_name] = true };
+ roster[jid].persist = false;
end
roster[jid].groups[group_name] = true;
- roster[jid].persist = false;
end
end
end