This commit is contained in:
syuilo
2019-01-16 14:54:14 +09:00
parent eb45eeb1ae
commit 13cee2b4f5
9 changed files with 30 additions and 7 deletions

View File

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