diff options
author | Chocobozzz <me@florianbigard.com> | 2021-08-25 16:14:11 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-08-26 10:01:42 +0200 |
commit | 98ab5dc81048d47d08a231f17698128f959e59b2 (patch) | |
tree | 7f74f835dc35d9f72918c56857f7f28b70d7053f /client/src/app/core | |
parent | 851675c5591dcab1070183f0ed1b1a788de07d2c (diff) | |
download | PeerTube-98ab5dc81048d47d08a231f17698128f959e59b2.tar.gz PeerTube-98ab5dc81048d47d08a231f17698128f959e59b2.tar.zst PeerTube-98ab5dc81048d47d08a231f17698128f959e59b2.zip |
Remove useless async
Diffstat (limited to 'client/src/app/core')
-rw-r--r-- | client/src/app/core/notification/peertube-socket.service.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/core/notification/peertube-socket.service.ts b/client/src/app/core/notification/peertube-socket.service.ts index eab1c63f2..50d5df68f 100644 --- a/client/src/app/core/notification/peertube-socket.service.ts +++ b/client/src/app/core/notification/peertube-socket.service.ts | |||
@@ -38,7 +38,7 @@ export class PeerTubeSocket { | |||
38 | this.liveVideosSocket.emit('subscribe', { videoId }) | 38 | this.liveVideosSocket.emit('subscribe', { videoId }) |
39 | } | 39 | } |
40 | 40 | ||
41 | async unsubscribeLiveVideos (videoId: number) { | 41 | unsubscribeLiveVideos (videoId: number) { |
42 | if (!this.liveVideosSocket) return | 42 | if (!this.liveVideosSocket) return |
43 | 43 | ||
44 | this.liveVideosSocket.emit('unsubscribe', { videoId }) | 44 | this.liveVideosSocket.emit('unsubscribe', { videoId }) |