Software /
code /
prosody
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 |
parent | 8644:3b28c7728e3f |
child | 12100: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