aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_roster.lua
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
commit83f7f40ea2c5109b10c7733ac837fd7a97340c4f (patch)
treefe1223aa86a2c455df008fb7f542f6e7d5d39eb6 /plugins/mod_roster.lua
parent1158e804713b8159712d60179a524f4dad4ef0f1 (diff)
downloadprosody-83f7f40ea2c5109b10c7733ac837fd7a97340c4f.tar.gz
prosody-83f7f40ea2c5109b10c7733ac837fd7a97340c4f.zip
mod_roster: Use new :text_tag()
Diffstat (limited to 'plugins/mod_roster.lua')
-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