This commit is contained in:
Nicolas Constant 2020-12-22 19:54:35 -05:00
parent 82e86039b4
commit 438867e49a
No known key found for this signature in database
GPG Key ID: 1E9F677FB01A5688
6 changed files with 0 additions and 8 deletions

View File

@ -883,7 +883,6 @@ export class CreateStatusComponent implements OnInit, OnDestroy {
this.overlayRef = this.overlay.create(config); this.overlayRef = this.overlay.create(config);
// this.overlayRef.backdropClick().subscribe(() => { // this.overlayRef.backdropClick().subscribe(() => {
// console.warn('wut?');
// this.overlayRef.dispose(); // this.overlayRef.dispose();
// }); // });

View File

@ -82,7 +82,6 @@ export class MentionsComponent extends TimelineBase {
} }
protected getNextStatuses(): Promise<Status[]> { protected getNextStatuses(): Promise<Status[]> {
console.warn('MENTIONS get next status');
return this.mastodonService.getNotifications(this.account, ['follow', 'favourite', 'reblog', 'poll', 'move'], this.lastId) return this.mastodonService.getNotifications(this.account, ['follow', 'favourite', 'reblog', 'poll', 'move'], this.lastId)
.then((result: Notification[]) => { .then((result: Notification[]) => {
const statuses = result.map(x => x.status); const statuses = result.map(x => x.status);

View File

@ -66,7 +66,6 @@ export class MediaViewerComponent implements OnInit, OnDestroy {
} }
private escapeHotkey = new Hotkey('escape', (event: KeyboardEvent): boolean => { private escapeHotkey = new Hotkey('escape', (event: KeyboardEvent): boolean => {
console.warn('CLOSE');
this.close(); this.close();
return false; return false;
}); });

View File

@ -128,8 +128,6 @@ export class StreamNotificationsComponent extends BrowseBase {
this.mastodonService.getNotifications(this.account, null, null, null, 10) this.mastodonService.getNotifications(this.account, null, null, null, 10)
.then((notifications: Notification[]) => { .then((notifications: Notification[]) => {
console.warn(notifications);
this.isNotificationsLoading = false; this.isNotificationsLoading = false;
this.notifications = notifications.map(x => { this.notifications = notifications.map(x => {

View File

@ -96,7 +96,6 @@ export class UserFollowsComponent implements OnInit, OnDestroy {
} }
}) })
.then((result: FollowingResult) => { .then((result: FollowingResult) => {
console.warn(result);
this.maxId = result.maxId; this.maxId = result.maxId;
this.accounts = result.follows; this.accounts = result.follows;
}) })

View File

@ -16,8 +16,6 @@ export class StreamingService {
private readonly mastodonService: MastodonWrapperService) { } private readonly mastodonService: MastodonWrapperService) { }
getStreaming(accountInfo: AccountInfo, stream: StreamElement, since_id: string = null): StreamingWrapper { getStreaming(accountInfo: AccountInfo, stream: StreamElement, since_id: string = null): StreamingWrapper {
//console.warn('EventSourceStreaminWrapper');
//new EventSourceStreaminWrapper(accountInfo, stream); //new EventSourceStreaminWrapper(accountInfo, stream);
return new StreamingWrapper(this.mastodonService, accountInfo, stream, this.nbStatusPerIteration); return new StreamingWrapper(this.mastodonService, accountInfo, stream, this.nbStatusPerIteration);