kopia lustrzana https://github.com/cloudflare/wildebeest
hotfix: only insert hashtags when provided
rodzic
d8e99e871b
commit
3d6393eda2
|
|
@ -115,7 +115,9 @@ export async function handleRequest(
|
||||||
|
|
||||||
const note = await createStatus(domain, db, connectedActor, content, mediaAttachments, extraProperties)
|
const note = await createStatus(domain, db, connectedActor, content, mediaAttachments, extraProperties)
|
||||||
|
|
||||||
|
if (hashtags.length > 0) {
|
||||||
await insertHashtags(db, note, hashtags)
|
await insertHashtags(db, note, hashtags)
|
||||||
|
}
|
||||||
|
|
||||||
if (inReplyToObject !== null) {
|
if (inReplyToObject !== null) {
|
||||||
// after the status has been created, record the reply.
|
// after the status has been created, record the reply.
|
||||||
|
|
|
||||||
Ładowanie…
Reference in New Issue