Changeset

8646:a267dfa9d81d

mod_roster: Use new :text_tag()
author Kim Alvefur <zash@zash.se>
date Wed, 21 Mar 2018 23:20:59 +0100
parents 8645:06c73b010488
children 8647:638ff2ad98e6
files plugins/mod_roster.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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