Properly import quotes from reblogs
This commit is contained in:
parent
e4d34f6d69
commit
00f6df3f37
|
@ -69,10 +69,21 @@ export function importFetchedStatus(status, idempotencyKey) {
|
|||
dispatch(importFetchedStatus(status.quote));
|
||||
}
|
||||
|
||||
// Pleroma quotes
|
||||
if (status.pleroma?.quote?.id) {
|
||||
dispatch(importFetchedStatus(status.pleroma.quote));
|
||||
}
|
||||
|
||||
// Fedibird quote from reblog
|
||||
if (status.reblog?.quote?.id) {
|
||||
dispatch(importFetchedStatus(status.reblog.quote));
|
||||
}
|
||||
|
||||
// Pleroma quote from reblog
|
||||
if (status.reblog?.pleroma?.quote?.id) {
|
||||
dispatch(importFetchedStatus(status.reblog.pleroma.quote));
|
||||
}
|
||||
|
||||
if (status.poll?.id) {
|
||||
dispatch(importFetchedPoll(status.poll));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue