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/jami-swig.ts b/server/src/jamid/jami-swig.ts
index 3b4ddd8..bb3d584 100644
--- a/server/src/jamid/jami-swig.ts
+++ b/server/src/jamid/jami-swig.ts
@@ -114,7 +114,7 @@
conversationInfos(accountId: string, conversationId: string): StringMap;
getConversationMembers(accountId: string, conversationId: string): VectMap;
- sendMessage(accountId: string, conversationId: string, message: string, replyTo: string): void;
+ sendMessage(accountId: string, conversationId: string, message: string, replyTo: string, flag: number): void;
loadConversationMessages(accountId: string, conversationId: string, fromMessage: string, n: number): number;
getCallList(accountId: string): StringVect;
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[] {