Software /
code /
prosody
Comparison
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 |
comparison
equal
deleted
inserted
replaced
8645:06c73b010488 | 8646:a267dfa9d81d |
---|---|
48 subscription = item.subscription, | 48 subscription = item.subscription, |
49 ask = item.ask, | 49 ask = item.ask, |
50 name = item.name, | 50 name = item.name, |
51 }); | 51 }); |
52 for group in pairs(item.groups) do | 52 for group in pairs(item.groups) do |
53 roster:tag("group"):text(group):up(); | 53 roster:text_tag("group", group); |
54 end | 54 end |
55 roster:up(); -- move out from item | 55 roster:up(); -- move out from item |
56 end | 56 end |
57 end | 57 end |
58 roster.tags[1].attr.ver = server_ver; | 58 roster.tags[1].attr.ver = server_ver; |