Stringify boolean values from jwt user context

This commit is contained in:
Andrei Bora 2020-11-06 14:05:53 +02:00 committed by Дамян Минков
parent f8a41aea9c
commit 50997ae6ac
1 changed files with 1 additions and 0 deletions

View File

@ -183,6 +183,7 @@ function update_presence_identity(
stanza:tag("identity"):tag("user");
for k, v in pairs(user) do
v = tostring(v)
stanza:tag(k):text(v):up();
end
stanza:up();