Merge branch 'tusooa/quote' into 'develop'
Quote See merge request pleroma/pleroma-fe!1846
This commit is contained in:
commit
f059c1f314
13 changed files with 175 additions and 6 deletions
|
|
@ -128,6 +128,7 @@ const defaultState = {
|
|||
mediaProxyAvailable: false,
|
||||
suggestionsEnabled: false,
|
||||
suggestionsWeb: '',
|
||||
quotingAvailable: false,
|
||||
|
||||
// Html stuff
|
||||
instanceSpecificPanelContent: '',
|
||||
|
|
|
|||
|
|
@ -229,6 +229,10 @@ const addNewStatuses = (state, { statuses, showImmediately = false, timeline, us
|
|||
timelineObject.newStatusCount += 1
|
||||
}
|
||||
|
||||
if (status.quote) {
|
||||
addStatus(status.quote, /* showImmediately = */ false, /* addToTimeline = */ false)
|
||||
}
|
||||
|
||||
return status
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue