forked from AkkomaGang/akkoma-fe
Merge branch 'fix-local' into 'develop'
Fix wrong property read in pleroma object See merge request pleroma/pleroma-fe!747
This commit is contained in:
commit
d94a7b6318
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@ export const parseStatus = (data) => {
|
||||||
output.text = pleroma.content ? data.pleroma.content['text/plain'] : data.content
|
output.text = pleroma.content ? data.pleroma.content['text/plain'] : data.content
|
||||||
output.summary = pleroma.spoiler_text ? data.pleroma.spoiler_text['text/plain'] : data.spoiler_text
|
output.summary = pleroma.spoiler_text ? data.pleroma.spoiler_text['text/plain'] : data.spoiler_text
|
||||||
output.statusnet_conversation_id = data.pleroma.conversation_id
|
output.statusnet_conversation_id = data.pleroma.conversation_id
|
||||||
output.is_local = pleroma.is_local
|
output.is_local = pleroma.local
|
||||||
} else {
|
} else {
|
||||||
output.text = data.content
|
output.text = data.content
|
||||||
output.summary = data.spoiler_text
|
output.summary = data.spoiler_text
|
||||||
|
|
Loading…
Reference in a new issue