mirror of
https://hk.gh-proxy.com/https://github.com/NodeBB/nodebb-plugin-emoji.git
synced 2025-10-04 01:20:58 +08:00
feat: handle new 'markdown' post parse type
This commit is contained in:
parent
9a5740de36
commit
0b588cc940
1 changed files with 1 additions and 1 deletions
|
@ -230,7 +230,7 @@ export function raw(content: string): Promise<string> {
|
|||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue