From 438867e49adabe6917dc432d2ffc4249330c5405 Mon Sep 17 00:00:00 2001 From: Nicolas Constant Date: Tue, 22 Dec 2020 19:54:35 -0500 Subject: [PATCH] clean up --- src/app/components/create-status/create-status.component.ts | 1 - .../manage-account/mentions/mentions.component.ts | 1 - src/app/components/media-viewer/media-viewer.component.ts | 1 - .../stream-notifications/stream-notifications.component.ts | 2 -- .../components/stream/user-follows/user-follows.component.ts | 1 - src/app/services/streaming.service.ts | 2 -- 6 files changed, 8 deletions(-) diff --git a/src/app/components/create-status/create-status.component.ts b/src/app/components/create-status/create-status.component.ts index 6f305863..2561159a 100644 --- a/src/app/components/create-status/create-status.component.ts +++ b/src/app/components/create-status/create-status.component.ts @@ -883,7 +883,6 @@ export class CreateStatusComponent implements OnInit, OnDestroy { this.overlayRef = this.overlay.create(config); // this.overlayRef.backdropClick().subscribe(() => { - // console.warn('wut?'); // this.overlayRef.dispose(); // }); diff --git a/src/app/components/floating-column/manage-account/mentions/mentions.component.ts b/src/app/components/floating-column/manage-account/mentions/mentions.component.ts index 61288d72..e1ca1c8d 100644 --- a/src/app/components/floating-column/manage-account/mentions/mentions.component.ts +++ b/src/app/components/floating-column/manage-account/mentions/mentions.component.ts @@ -82,7 +82,6 @@ export class MentionsComponent extends TimelineBase { } protected getNextStatuses(): Promise { - console.warn('MENTIONS get next status'); return this.mastodonService.getNotifications(this.account, ['follow', 'favourite', 'reblog', 'poll', 'move'], this.lastId) .then((result: Notification[]) => { const statuses = result.map(x => x.status); diff --git a/src/app/components/media-viewer/media-viewer.component.ts b/src/app/components/media-viewer/media-viewer.component.ts index 0fc31a62..f9b3a315 100644 --- a/src/app/components/media-viewer/media-viewer.component.ts +++ b/src/app/components/media-viewer/media-viewer.component.ts @@ -66,7 +66,6 @@ export class MediaViewerComponent implements OnInit, OnDestroy { } private escapeHotkey = new Hotkey('escape', (event: KeyboardEvent): boolean => { - console.warn('CLOSE'); this.close(); return false; }); diff --git a/src/app/components/stream/stream-notifications/stream-notifications.component.ts b/src/app/components/stream/stream-notifications/stream-notifications.component.ts index 98676882..2429eee7 100644 --- a/src/app/components/stream/stream-notifications/stream-notifications.component.ts +++ b/src/app/components/stream/stream-notifications/stream-notifications.component.ts @@ -128,8 +128,6 @@ export class StreamNotificationsComponent extends BrowseBase { this.mastodonService.getNotifications(this.account, null, null, null, 10) .then((notifications: Notification[]) => { - console.warn(notifications); - this.isNotificationsLoading = false; this.notifications = notifications.map(x => { diff --git a/src/app/components/stream/user-follows/user-follows.component.ts b/src/app/components/stream/user-follows/user-follows.component.ts index f39e9ff3..546a0e8f 100644 --- a/src/app/components/stream/user-follows/user-follows.component.ts +++ b/src/app/components/stream/user-follows/user-follows.component.ts @@ -96,7 +96,6 @@ export class UserFollowsComponent implements OnInit, OnDestroy { } }) .then((result: FollowingResult) => { - console.warn(result); this.maxId = result.maxId; this.accounts = result.follows; }) diff --git a/src/app/services/streaming.service.ts b/src/app/services/streaming.service.ts index a5040157..7076bb1c 100644 --- a/src/app/services/streaming.service.ts +++ b/src/app/services/streaming.service.ts @@ -16,8 +16,6 @@ export class StreamingService { private readonly mastodonService: MastodonWrapperService) { } getStreaming(accountInfo: AccountInfo, stream: StreamElement, since_id: string = null): StreamingWrapper { - - //console.warn('EventSourceStreaminWrapper'); //new EventSourceStreaminWrapper(accountInfo, stream); return new StreamingWrapper(this.mastodonService, accountInfo, stream, this.nbStatusPerIteration);