From 99f9c36299f123e1ab215e1016da9ef0fd8ade9c Mon Sep 17 00:00:00 2001 From: Mathias Tillman Date: Thu, 29 Jul 2021 15:44:37 +0200 Subject: [PATCH] Fix image target appearing as the thumb due to the object not being copied correctly. --- src/ui/models/conv.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/models/conv.coffee b/src/ui/models/conv.coffee index aca44ecf..610d8bff 100644 --- a/src/ui/models/conv.coffee +++ b/src/ui/models/conv.coffee @@ -29,7 +29,7 @@ preprocessMessage = (msg) -> if index - 2 >= 0 cont.segment.splice(index - 2, 3) - thumburl = url + thumburl = new URL(url.toString()) thumburl.searchParams.set 'url_type', 'FIFE_URL' thumburl.searchParams.set 'sz', 's512'