Mercurial > prosody-modules
comparison mod_muc_media_metadata/mod_muc_media_metadata.lua @ 3685:26dc8320b81b
mod_muc_media_metadata: Update for actual function named async.await()
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 29 Sep 2019 18:31:14 +0100 |
parents | 47e1c94fb6fb |
children | 2573d143621f |
comparison
equal
deleted
inserted
replaced
3684:0f3cb1247682 | 3685:26dc8320b81b |
---|---|
55 table.insert(promises, p); | 55 table.insert(promises, p); |
56 end | 56 end |
57 | 57 |
58 if not promises then return; end | 58 if not promises then return; end |
59 | 59 |
60 async.wait(promise.all(promises)); | 60 async.await(promise.all(promises)); |
61 end); | 61 end); |