Fix comments URLs

Also remote comments were marked as local

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2019-12-18 18:25:40 +01:00
parent 131730ce5e
commit b911ecbb00
4 changed files with 12 additions and 3 deletions

View File

@@ -6,6 +6,7 @@ export interface IComment {
uuid?: string;
url?: string;
text: string;
local: boolean;
actor: IActor;
inReplyToComment?: IComment;
originComment?: IComment;
@@ -20,6 +21,7 @@ export class CommentModel implements IComment {
actor: IActor = new Actor();
id?: string;
text: string = '';
local: boolean = true;
url?: string;
uuid?: string;
inReplyToComment?: IComment = undefined;