This commit is contained in:
Nicolas Constant 2019-04-13 13:46:37 -04:00
parent cef07f0bf8
commit fe897318d7
No known key found for this signature in database
GPG Key ID: 1E9F677FB01A5688
1 changed files with 1 additions and 6 deletions

View File

@ -7,7 +7,7 @@ import { StatusWrapper } from '../../../../models/common.model';
import { Status, Notification } from '../../../../services/models/mastodon.interfaces';
import { MastodonService } from '../../../../services/mastodon.service';
import { NotificationService } from '../../../../services/notification.service';
import { ToolsService, OpenThreadEvent } from '../../../../services/tools.service';
import { OpenThreadEvent } from '../../../../services/tools.service';
@Component({
@ -28,12 +28,8 @@ export class MentionsComponent implements OnInit, OnDestroy {
@Input('account')
set account(acc: AccountWrapper) {
console.warn('account');
this._account = acc;
this.loadMentions();
const accountSettings = this.toolsService.getAccountSettings(acc.info);
console.warn(accountSettings);
}
get account(): AccountWrapper {
return this._account;
@ -47,7 +43,6 @@ export class MentionsComponent implements OnInit, OnDestroy {
private lastId: string;
constructor(
private readonly toolsService: ToolsService,
private readonly notificationService: NotificationService,
private readonly userNotificationService: UserNotificationService,
private readonly mastodonService: MastodonService) {