diff options
| author | Akihiko Odaki <nekomanma@pixiv.co.jp> | 2018-03-27 16:51:12 +0900 |
|---|---|---|
| committer | Akihiko Odaki <nekomanma@pixiv.co.jp> | 2018-03-27 23:51:21 +0900 |
| commit | 68ce6d574882c1badbb4a3d2772451534014dd01 (patch) | |
| tree | 3b468556c25dd5b63e3774aca1869b71dd9b1919 /src/api/streaming.ts | |
| parent | Merge pull request #1316 from akihikodaki/host (diff) | |
| download | misskey-68ce6d574882c1badbb4a3d2772451534014dd01.tar.gz misskey-68ce6d574882c1badbb4a3d2772451534014dd01.tar.bz2 misskey-68ce6d574882c1badbb4a3d2772451534014dd01.zip | |
Implement remote account resolution
Diffstat (limited to 'src/api/streaming.ts')
| -rw-r--r-- | src/api/streaming.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/api/streaming.ts b/src/api/streaming.ts index 427e01afdd..a6759e414c 100644 --- a/src/api/streaming.ts +++ b/src/api/streaming.ts @@ -94,6 +94,7 @@ function authenticate(token: string): Promise<IUser> { // Fetch user const user: IUser = await User .findOne({ + host: null, 'account.token': token }); |