Fedibird compatibility, because why not
This commit is contained in:
parent
af9b69271b
commit
9f98fcff09
|
@ -75,6 +75,11 @@ export function importFetchedStatus(status, idempotencyKey) {
|
|||
dispatch(importFetchedStatus(status.reblog));
|
||||
}
|
||||
|
||||
// Fedibird quotes
|
||||
if (status.quote && status.quote.id) {
|
||||
dispatch(importFetchedStatus(status.quote));
|
||||
}
|
||||
|
||||
if (status.pleroma && status.pleroma.quote && status.pleroma.quote.id) {
|
||||
dispatch(importFetchedStatus(status.pleroma.quote));
|
||||
}
|
||||
|
|
|
@ -51,6 +51,9 @@ export function normalizeStatus(status, normalOldStatus, expandSpoilers) {
|
|||
|
||||
if (status.pleroma && status.pleroma.quote && status.pleroma.quote.id) {
|
||||
normalStatus.quote = status.pleroma.quote.id;
|
||||
} else if (status.quote && status.quote.id) {
|
||||
// Fedibird compatibility, because why not
|
||||
normalStatus.quote = status.quote.id;
|
||||
}
|
||||
|
||||
// Only calculate these values when status first encountered
|
||||
|
|
|
@ -816,3 +816,11 @@ a.status-card.compact:hover {
|
|||
margin-top: 5px !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Fedibird quote post compatibility */
|
||||
.status__content,
|
||||
.quoted-status__content {
|
||||
.quote-inline {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue