diff options
author | Chocobozzz <me@florianbigard.com> | 2019-01-21 13:52:46 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-01-21 13:52:46 +0100 |
commit | 38967f7b73cec6f6198c72d62f8d64bb88e6951c (patch) | |
tree | b1f9d308dfb600cde1559ddf6ac13294020d45fa /shared/utils/users | |
parent | cfeae291c00812bb99e88bdec785792ae5d5934e (diff) | |
download | PeerTube-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.ts | 1 |
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) { | |||
146 | function checkActor (actor: any) { | 146 | function 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 | ||
151 | function checkComment (comment: any, commentId: number, threadId: number) { | 152 | function checkComment (comment: any, commentId: number, threadId: number) { |