aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-03-21 23:20:59 +0100
committerKim Alvefur <zash@zash.se>2018-03-21 23:20:59 +0100
commit4fa2e21b49959b990089f00d28169aa2a452e275 (patch)
treefe1223aa86a2c455df008fb7f542f6e7d5d39eb6 /plugins
parent2d784f106343913767108ba9b099323d20e0b67f (diff)
downloadprosody-4fa2e21b49959b990089f00d28169aa2a452e275.tar.gz
prosody-4fa2e21b49959b990089f00d28169aa2a452e275.zip
mod_roster: Use new :text_tag()
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_roster.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_roster.lua b/plugins/mod_roster.lua
index c6aa8b12..39d59cbd 100644
--- a/plugins/mod_roster.lua
+++ b/plugins/mod_roster.lua
@@ -50,7 +50,7 @@ module:hook("iq/self/jabber:iq:roster:query", function(event)
name = item.name,
});
for group in pairs(item.groups) do
- roster:tag("group"):text(group):up();
+ roster:text_tag("group", group);
end
roster:up(); -- move out from item
end