mirror of
https://notabug.org/scuti/pleroma-comments
synced 2025-03-14 07:44:28 +05:30
relabel images - > media
This commit is contained in:
parent
38d67e0601
commit
7cddab04b7
@ -115,7 +115,7 @@ function write_comments(pleroma_posts, instance, show_avatars)
|
||||
if #attachments < 1 then
|
||||
return ""
|
||||
end
|
||||
local media_list = {"<p>images attached: </p><ol>"}
|
||||
local media_list = {"<p>media attached: </p><ol>"}
|
||||
local item = "<li><a href=\"$link$\">$mime$</a></li>"
|
||||
for _, v in pairs(attachments) do
|
||||
local vars = {
|
||||
@ -127,7 +127,6 @@ function write_comments(pleroma_posts, instance, show_avatars)
|
||||
table.insert(media_list, foo)
|
||||
end
|
||||
table.insert(media_list, "</ol>")
|
||||
printTable(media_list)
|
||||
return table.concat(media_list, "\n")
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user