diff options
author | Kim Alvefur <zash@zash.se> | 2018-03-21 23:20:59 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-03-21 23:20:59 +0100 |
commit | 4fa2e21b49959b990089f00d28169aa2a452e275 (patch) | |
tree | fe1223aa86a2c455df008fb7f542f6e7d5d39eb6 /plugins/mod_roster.lua | |
parent | 2d784f106343913767108ba9b099323d20e0b67f (diff) | |
download | prosody-4fa2e21b49959b990089f00d28169aa2a452e275.tar.gz prosody-4fa2e21b49959b990089f00d28169aa2a452e275.zip |
mod_roster: Use new :text_tag()
Diffstat (limited to 'plugins/mod_roster.lua')
-rw-r--r-- | plugins/mod_roster.lua | 2 |
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 |