aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/utils/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 /shared/utils/users
parentcfeae291c00812bb99e88bdec785792ae5d5934e (diff)
downloadPeerTube-38967f7b73cec6f6198c72d62f8d64bb88e6951c.tar.gz
PeerTube-38967f7b73cec6f6198c72d62f8d64bb88e6951c.tar.zst
PeerTube-38967f7b73cec6f6198c72d62f8d64bb88e6951c.zip
Add server host in notification account field
Diffstat (limited to 'shared/utils/users')
-rw-r--r--shared/utils/users/user-notifications.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/shared/utils/users/user-notifications.ts b/shared/utils/users/user-notifications.ts
index bcbe29fc7..b85d5d2f1 100644
--- a/shared/utils/users/user-notifications.ts
+++ b/shared/utils/users/user-notifications.ts
@@ -146,6 +146,7 @@ function checkVideo (video: any, videoName?: string, videoUUID?: string) {
146function checkActor (actor: any) { 146function checkActor (actor: any) {
147 expect(actor.displayName).to.be.a('string') 147 expect(actor.displayName).to.be.a('string')
148 expect(actor.displayName).to.not.be.empty 148 expect(actor.displayName).to.not.be.empty
149 expect(actor.host).to.not.be.undefined
149} 150}
150 151
151function checkComment (comment: any, commentId: number, threadId: number) { 152function checkComment (comment: any, commentId: number, threadId: number) {