Browse Source

Fix public timelines not instantly updating on compose (#9050)

Fix #9034
pull/4/head
Eugen Rochko 6 years ago
committed by GitHub
parent
commit
39abec4d25
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      app/javascript/mastodon/actions/compose.js

+ 3
- 1
app/javascript/mastodon/actions/compose.js View File

@ -146,7 +146,9 @@ export function submitCompose(routerHistory) {
routerHistory.push('/timelines/direct');
} else if (response.data.visibility !== 'direct') {
insertIfOnline('home');
} else if (response.data.in_reply_to_id === null && response.data.visibility === 'public') {
}
if (response.data.in_reply_to_id === null && response.data.visibility === 'public') {
insertIfOnline('community');
insertIfOnline('public');
}

Loading…
Cancel
Save