This commit is contained in:
les 2020-02-05 00:49:48 +01:00
parent f820c70a25
commit bdfda5953b

View file

@ -69,9 +69,11 @@ router.post('/u/:name/inbox', Helpers.verifySignature, async (req, res) => {
break
case 'Create':
// this is a reply
if (b.object.type === 'Note' && b.object.inReplyTo) {
if (b.object.type === 'Note') {
debug('Create a resource!')
await Resources.create(req, res)
} else {
// await Resources.create(req, res)
debug('Create with unsupported Object or not a reply => %s ', b.object.type)
}
break