I tested this locally in `keyserver.js`, by importing the function and running this code:
```
fetchMediaForThread("85372").then((media) => {
console.log(media);
});
```
Checking the console logs confirms that the media is successfully fetched.
{F354058}