feat: handle new 'markdown' post parse type

This commit is contained in:
Julian Lam 2025-01-23 15:04:40 -05:00
parent 9a5740de36
commit 0b588cc940

View file

@ -230,7 +230,7 @@ export function raw(content: string): Promise<string> {
} }


export async function post(data: { postData: { content: string }, type: string }): Promise<any> { export async function post(data: { postData: { content: string }, type: string }): Promise<any> {
if (data.type === 'activitypub.note') { if (data.type === 'activitypub.note' || data.type === 'markdown') {
return data; return data;
} }