I found this issue for www.zeit.de, a German news website. It provides an apple-touch-icon-precomposed link:
<link rel="shortcut icon" sizes="16x16 32x32" href="https://www.zeit.de/favicon.ico">
<link rel="apple-touch-icon-precomposed" href="https://img.zeit.de/static/img/ZO-ipad-114x114.png">
Signal doesn't load the high-quality icon which leads to a rather poor-looking preview:

WhatsApp for comparison:

Version: v1.39.6
Thanks for reporting.
This is happening for two reasons:
apple-touch-icon-precomposed iconsYou can see the logic here:
It would be great if someone could make a pull request to help us with this change. Currently, the order is:
og:imageog:image:urlshortcut iconiconapple-touch-iconThe new order should be:
og:imageog:image:urlapple-touch-iconapple-touch-icon-precomposedshortcut iconiconHere's how I'd do that:
linkPreviewFetch_test.ts. Run the tests with yarn test-node and watch them fail.linkPreviewFetch.ts.@RussianCow have you picked this up?
@yakkomajuri Yes! Sorry for not letting anyone know鈥擨 thought I would at least give it a shot before I said anything, and it ended up being a pretty simple change. I'm currently having trouble setting up the development branch locally as per #4995, but I haven't dug that deep into it yet and likely won't get to it this weekend. My change works off master, though.
Most helpful comment
Thanks for reporting.
This is happening for two reasons:
apple-touch-icon-precomposediconsYou can see the logic here:
https://github.com/signalapp/Signal-Desktop/blob/172598b35499c3846328c769864b7bc5ddb9ae98/ts/linkPreviews/linkPreviewFetch.ts#L354-L360
It would be great if someone could make a pull request to help us with this change. Currently, the order is:
og:imageog:image:urlshortcut iconiconapple-touch-iconThe new order should be:
og:imageog:image:urlapple-touch-iconapple-touch-icon-precomposedshortcut iconiconHere's how I'd do that:
linkPreviewFetch_test.ts. Run the tests withyarn test-nodeand watch them fail.linkPreviewFetch.ts.