Skip to content
Snippets Groups Projects
Commit 662e6bda authored by Dave LiPuma's avatar Dave LiPuma
Browse files

#390: fixed the problem loading other user's media data

parent 1dd7120e
Branches
No related tags found
No related merge requests found
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment