FIX: prosody: output string for time and position in jibri queue

This commit is contained in:
Aaron van Meerten 2020-08-10 15:21:56 -05:00
parent 6fc9606c0d
commit 3da7798e9f
1 changed files with 2 additions and 2 deletions

View File

@ -186,10 +186,10 @@ local function sendIq(participant,action,requestId,time,position,token)
outStanza:tag("token"):text(token):up()
end
if time then
outStanza:tag("time"):text(time):up()
outStanza:tag("time"):text(tostring(time)):up()
end
if position then
outStanza:tag("position"):text(position):up()
outStanza:tag("position"):text(tostring(position)):up()
end
module:log("info","Oubound stanza %s",inspect(outStanza));
module:send(outStanza);