diff options
Diffstat (limited to 'client/src/app/shared/shared-user-subscription/subscribe-button.component.ts')
-rw-r--r-- | client/src/app/shared/shared-user-subscription/subscribe-button.component.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/src/app/shared/shared-user-subscription/subscribe-button.component.ts b/client/src/app/shared/shared-user-subscription/subscribe-button.component.ts index 180bc0565..7a55a6ffb 100644 --- a/client/src/app/shared/shared-user-subscription/subscribe-button.component.ts +++ b/client/src/app/shared/shared-user-subscription/subscribe-button.component.ts | |||
@@ -168,6 +168,10 @@ export class SubscribeButtonComponent implements OnInit, OnChanges { | |||
168 | return Array.from(this.subscribed.values()).every(v => v === true) | 168 | return Array.from(this.subscribed.values()).every(v => v === true) |
169 | } | 169 | } |
170 | 170 | ||
171 | isRemoteSubscribeAvailable () { | ||
172 | return !this.isUserLoggedIn() | ||
173 | } | ||
174 | |||
171 | private getChannelHandler (videoChannel: VideoChannel) { | 175 | private getChannelHandler (videoChannel: VideoChannel) { |
172 | return videoChannel.name + '@' + videoChannel.host | 176 | return videoChannel.name + '@' + videoChannel.host |
173 | } | 177 | } |