Merge pull request #1 from jpgichw/patch-1

Add link text to printf
This commit is contained in:
Jaidyn Ann 2024-01-18 17:56:47 +00:00 committed by GitHub
commit 946607803c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -231,7 +231,7 @@ message_slots_to_selection() {
WHEN (file_transfer.path LIKE '%.jpg') OR (file_transfer.path LIKE '%.jpeg') OR (file_transfer.path LIKE '%.jpeg') WHEN (file_transfer.path LIKE '%.jpg') OR (file_transfer.path LIKE '%.jpeg') OR (file_transfer.path LIKE '%.jpeg')
OR (file_transfer.path LIKE '%.png') OR (file_transfer.path LIKE '%.webm') OR (file_transfer.path LIKE '%.svg') OR (file_transfer.path LIKE '%.png') OR (file_transfer.path LIKE '%.webm') OR (file_transfer.path LIKE '%.svg')
THEN PRINTF('$IMAGE_FORMAT', 'files/' || path) THEN PRINTF('$IMAGE_FORMAT', 'files/' || path)
ELSE PRINTF('$FILE_FORMAT', 'files/' || path) ELSE PRINTF('$FILE_FORMAT', 'files/' || path, 'files/' || path)
END END
FROM file_transfer FROM file_transfer
WHERE file_transfer.info == message.id ) WHERE file_transfer.info == message.id )