diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-03-05 23:49:12 +0100 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2020-03-05 23:49:12 +0100 |
commit | 288c78eaae7c593f4d8f668302b13b138f6975c3 (patch) | |
tree | 52d2f4daf1e11c83d4bdb8daba010f66289ca410 /client/src/app/shared | |
parent | 5ed19b4b8b24daf8a651596a745d856006aecb98 (diff) | |
download | PeerTube-288c78eaae7c593f4d8f668302b13b138f6975c3.tar.gz PeerTube-288c78eaae7c593f4d8f668302b13b138f6975c3.tar.zst PeerTube-288c78eaae7c593f4d8f668302b13b138f6975c3.zip |
Always copy full actor handle in video-channels view
Diffstat (limited to 'client/src/app/shared')
-rw-r--r-- | client/src/app/shared/video-channel/video-channel.model.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/app/shared/video-channel/video-channel.model.ts b/client/src/app/shared/video-channel/video-channel.model.ts index 309b614ae..fec050cde 100644 --- a/client/src/app/shared/video-channel/video-channel.model.ts +++ b/client/src/app/shared/video-channel/video-channel.model.ts | |||
@@ -8,6 +8,7 @@ export class VideoChannel extends Actor implements ServerVideoChannel { | |||
8 | support: string | 8 | support: string |
9 | isLocal: boolean | 9 | isLocal: boolean |
10 | nameWithHost: string | 10 | nameWithHost: string |
11 | nameWithHostForced: string | ||
11 | ownerAccount?: Account | 12 | ownerAccount?: Account |
12 | ownerBy?: string | 13 | ownerBy?: string |
13 | ownerAvatarUrl?: string | 14 | ownerAvatarUrl?: string |
@@ -20,6 +21,7 @@ export class VideoChannel extends Actor implements ServerVideoChannel { | |||
20 | this.support = hash.support | 21 | this.support = hash.support |
21 | this.isLocal = hash.isLocal | 22 | this.isLocal = hash.isLocal |
22 | this.nameWithHost = Actor.CREATE_BY_STRING(this.name, this.host) | 23 | this.nameWithHost = Actor.CREATE_BY_STRING(this.name, this.host) |
24 | this.nameWithHostForced = Actor.CREATE_BY_STRING(this.name, this.host, true) | ||
23 | 25 | ||
24 | if (hash.ownerAccount) { | 26 | if (hash.ownerAccount) { |
25 | this.ownerAccount = hash.ownerAccount | 27 | this.ownerAccount = hash.ownerAccount |