diff options
-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 53b404f7..82016d27 100644 --- a/plugins/mod_roster.lua +++ b/plugins/mod_roster.lua @@ -56,7 +56,7 @@ module:hook("iq/self/jabber:iq:roster:query", function(event) roster:up(); -- move out from item end end - roster.tags[1].attr.ver = server_ver; + roster.tags[1].attr.ver = tostring(server_ver); end session.send(roster); session.interested = true; -- resource is interested in roster updates |