Resolve #3896
This commit is contained in:
parent
eb45eeb1ae
commit
13cee2b4f5
9 changed files with 30 additions and 7 deletions
|
|
@ -15,7 +15,7 @@ export default class extends Channel {
|
|||
@autobind
|
||||
public async init(params: any) {
|
||||
const meta = await fetchMeta();
|
||||
if (meta.disableLocalTimeline) {
|
||||
if (meta.disableGlobalTimeline) {
|
||||
if (this.user == null || (!this.user.isAdmin && !this.user.isModerator)) return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue