Mercurial > prosody-hg
diff plugins/mod_roster.lua @ 8646:a267dfa9d81d
mod_roster: Use new :text_tag()
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Wed, 21 Mar 2018 23:20:59 +0100 |
| parents | 3b28c7728e3f |
| children | 0b14b541fd27 |
line wrap: on
line diff
--- a/plugins/mod_roster.lua Wed Mar 21 23:20:26 2018 +0100 +++ b/plugins/mod_roster.lua Wed Mar 21 23:20:59 2018 +0100 @@ -50,7 +50,7 @@ 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
