mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-13 17:30:45 +01: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