chore: add attribution

This commit is contained in:
Mar0xy 2023-11-01 00:55:53 +01:00
parent a2161ccb53
commit d49cc29923
No known key found for this signature in database
GPG Key ID: 56569BBE47D2C828

View File

@ -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) {