Merge branch 'issue-390-load-other-user-media-data' into 'develop'
#390: fixed the problem loading other user's media data Closes #390 See merge request pleroma/pleroma-fe!613
This commit is contained in:
commit
baa09002b5
|
@ -126,7 +126,7 @@ const addNewStatuses = (state, { statuses, showImmediately = false, timeline, us
|
|||
// This makes sure that user timeline won't get data meant for other
|
||||
// user. I.e. opening different user profiles makes request which could
|
||||
// return data late after user already viewing different user profile
|
||||
if (timeline === 'user' && timelineObject.userId !== userId) {
|
||||
if ((timeline === 'user' || timeline === 'media') && timelineObject.userId !== userId) {
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue