make MessageView also guess the MIME type to display uploaded media

If the user sends an image or audio file via Send File, then it should
still show up inline and be playable.