Browse Source

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

master
Aaron van Meerten 4 years ago
parent
commit
3da7798e9f
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      resources/prosody-plugins/mod_jibri_queue_component.lua

+ 2
- 2
resources/prosody-plugins/mod_jibri_queue_component.lua View File

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

Loading…
Cancel
Save