xmpp.chapril.org-conversejs/src/plugins/chatview/tests
JC Brand a251608fc5 Fix race condition where waitUntilFeaturesDiscovered was resolved too early
When calling `api.supports(feature, entity_jid)`, it checks whether the entity
supports the feature or whether any of the sub-items on the entity
supports that feature.

However, on `DiscoEntity`, the `waitUntilFeaturesDiscovered` promise
didn't wait for the items on the entity to be fetched, and was therefore
resolved too quickly.

This caused the file upload button to not render.

Updates #2925
2022-11-08 20:03:37 +01:00
..
chatbox.js Use our own confirm dialog consistently 2022-05-12 23:23:24 +02:00
corrections.js Create an ElementView base modal and use it for all modals 2022-09-16 10:33:47 +02:00
emojis.js Move emoji functions to utils.js 2022-04-06 23:07:16 +02:00
http-file-upload.js Fix race condition where waitUntilFeaturesDiscovered was resolved too early 2022-11-08 20:03:37 +01:00
markers.js Stop using the Jasmine "done" callback 2021-06-29 15:59:49 +02:00
me-messages.js Split out MUC tests 2021-06-29 15:59:49 +02:00
message-audio.js Stop using the Jasmine "done" callback 2021-06-29 15:59:49 +02:00
message-gifs.js Handle GIFs inside Unfurls 2021-08-03 12:14:13 +02:00
message-images.js Move emoji functions to utils.js 2022-04-06 23:07:16 +02:00
message-videos.js Allow render_media setting to be an array of domains 2021-09-30 16:30:30 +02:00
messages.js Don't automatically convert OpenStreetMap URLs into geo: URIs in sent messages 2022-05-13 10:14:31 +02:00
oob.js Don't render OOB url if it's the same as the body 2021-09-01 10:35:32 +02:00
receipts.js Stop using the Jasmine "done" callback 2021-06-29 15:59:49 +02:00
spoilers.js Stop using the Jasmine "done" callback 2021-06-29 15:59:49 +02:00
styling.js Fixes #3007 2022-08-20 11:12:59 +02:00
unreads.js Stop using the Jasmine "done" callback 2021-06-29 15:59:49 +02:00
xss.js Normalize URL path 2022-02-15 14:38:40 +01:00