Stringify boolean values from jwt user context
This commit is contained in:
parent
f8a41aea9c
commit
50997ae6ac
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue