Add link text to printf
Adds link text for the following FILE_FORMAT='<a href="%s" />%s</a>'
This commit is contained in:
parent
6b3b14d3d3
commit
c80a5be287
|
@ -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 )
|
||||||
|
|
Ŝarĝante…
Reference in New Issue