From 5a4b12c9146fbcfdf44b2818d53d9ce710834751 Mon Sep 17 00:00:00 2001 From: "B. Petersen" Date: Tue, 26 Jul 2022 14:33:01 +0200 Subject: [PATCH] add mailinglistAddr to getJson --- node/lib/chat.ts | 1 + node/lib/types.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/node/lib/chat.ts b/node/lib/chat.ts index 18ec2eb26..7aad8024f 100644 --- a/node/lib/chat.ts +++ b/node/lib/chat.ts @@ -92,6 +92,7 @@ export class Chat { color: this.color, id: this.getId(), name: this.getName(), + mailinglistAddr: this.getMailinglistAddr(), profileImage: this.getProfileImage(), type: this.getType(), isSelfTalk: this.isSelfTalk(), diff --git a/node/lib/types.ts b/node/lib/types.ts index feb6e981e..c4d36a68e 100644 --- a/node/lib/types.ts +++ b/node/lib/types.ts @@ -12,6 +12,7 @@ export interface ChatJSON { color: string id: number name: string + mailinglistAddr: string, profileImage: string type: number isSelfTalk: boolean