mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-05 11:23:08 +02:00
chore: add attribution
This commit is contained in:
parent
a2161ccb53
commit
d49cc29923
1 changed files with 2 additions and 0 deletions
|
@ -389,6 +389,8 @@ export class MfmService {
|
|||
return `<p>${doc.body.innerHTML}</p>`;
|
||||
}
|
||||
|
||||
// the toMastoHtml function was taken from Iceshrimp and written by zotan and modified by marie to work with the current MK version
|
||||
|
||||
@bindThis
|
||||
public async toMastoHtml(nodes: mfm.MfmNode[] | null, mentionedRemoteUsers: IMentionedRemoteUsers = [], inline = false, quoteUri: string | null = null) {
|
||||
if (nodes == null) {
|
||||
|
|
Loading…
Reference in a new issue