aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/users
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-01-21 13:52:46 +0100
committerChocobozzz <me@florianbigard.com>2019-01-21 13:52:46 +0100
commit38967f7b73cec6f6198c72d62f8d64bb88e6951c (patch)
treeb1f9d308dfb600cde1559ddf6ac13294020d45fa /client/src/app/shared/users
parentcfeae291c00812bb99e88bdec785792ae5d5934e (diff)
downloadPeerTube-38967f7b73cec6f6198c72d62f8d64bb88e6951c.tar.gz
PeerTube-38967f7b73cec6f6198c72d62f8d64bb88e6951c.tar.zst
PeerTube-38967f7b73cec6f6198c72d62f8d64bb88e6951c.zip
Add server host in notification account field
Diffstat (limited to 'client/src/app/shared/users')
-rw-r--r--client/src/app/shared/users/user-notification.model.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/shared/users/user-notification.model.ts b/client/src/app/shared/users/user-notification.model.ts
index c5996a8a1..3bb53ff45 100644
--- a/client/src/app/shared/users/user-notification.model.ts
+++ b/client/src/app/shared/users/user-notification.model.ts
@@ -136,8 +136,8 @@ export class UserNotification implements UserNotificationServer {
136 return '/videos/watch/' + video.uuid 136 return '/videos/watch/' + video.uuid
137 } 137 }
138 138
139 private buildAccountUrl (account: { name: string }) { 139 private buildAccountUrl (account: { name: string, host: string }) {
140 return '/accounts/' + account.name 140 return '/accounts/' + Actor.CREATE_BY_STRING(account.name, account.host)
141 } 141 }
142 142
143 private buildVideoImportUrl () { 143 private buildVideoImportUrl () {