Add flag parameter to sendMessage
Since the commit 0f6b74b1 in jami deamon, sendMessage requires a fifth
parameter to specify if this is a message submission or edition. Also
update the daemon submodule to the latest commit.
Change-Id: I915ecbb3a986bf80162ee424878966eccb9deda0
diff --git a/server/src/jamid/jamid.ts b/server/src/jamid/jamid.ts
index 773b298..9122395 100644
--- a/server/src/jamid/jamid.ts
+++ b/server/src/jamid/jamid.ts
@@ -320,8 +320,14 @@
);
}
- sendConversationMessage(accountId: string, conversationId: string, message: string, replyTo?: string): void {
- this.jamiSwig.sendMessage(accountId, conversationId, message, replyTo || '');
+ sendConversationMessage(
+ accountId: string,
+ conversationId: string,
+ message: string,
+ replyTo?: string,
+ flag?: number
+ ): void {
+ this.jamiSwig.sendMessage(accountId, conversationId, message, replyTo ?? '', flag ?? 0);
}
getCallIds(accountId: string): string[] {