Exporting media from Signal Desktop

I wanted to get all the photos and files shared in a Signal group conversation out of the app and into a regular folder, for sharing them with a friend not using signal. Because Signal Desktop stores everything in an encrypted SQLite database, with attachments encrypted on disk, you can't …