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

This commit is contained in:
dave 2019-02-25 10:21:17 -05:00
parent 1dd7120e16
commit 662e6bda14
1 changed files with 1 additions and 1 deletions

View File

@ -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
}