aboutsummaryrefslogtreecommitdiff
path: root/Timeline/ClientApp/src/app/data/user.ts
diff options
context:
space:
mode:
Diffstat (limited to 'Timeline/ClientApp/src/app/data/user.ts')
-rw-r--r--Timeline/ClientApp/src/app/data/user.ts9
1 files changed, 0 insertions, 9 deletions
diff --git a/Timeline/ClientApp/src/app/data/user.ts b/Timeline/ClientApp/src/app/data/user.ts
index 1d2d6f88..8b299c38 100644
--- a/Timeline/ClientApp/src/app/data/user.ts
+++ b/Timeline/ClientApp/src/app/data/user.ts
@@ -7,7 +7,6 @@ import { pushAlert } from '../common/alert-service';
import { dataStorage } from './common';
import { SubscriptionHub, ISubscriptionHub } from './SubscriptionHub';
-import { queue } from './queue';
import { HttpNetworkError, BlobWithEtag, NotModified } from '../http/common';
import {
@@ -240,14 +239,6 @@ export class UserInfoService {
private async fetchAndCacheAvatar(
username: string
): Promise<{ data: Blob; type: 'synced' | 'cache' } | 'offline'> {
- return queue(`UserService.fetchAndCacheAvatar.${username}`, () =>
- this.doFetchAndCacheAvatar(username)
- );
- }
-
- private async doFetchAndCacheAvatar(
- username: string
- ): Promise<{ data: Blob; type: 'synced' | 'cache' } | 'offline'> {
const key = this.getAvatarKey(username);
const cache = await dataStorage.getItem<BlobWithEtag | null>(key);
if (cache == null) {