Read a peer's submit and receipt message ids into one notation before comparing them

This commit is contained in:
2026-08-30 22:35:09 +02:00
parent 098891bb84
commit 8e5b9bb556
14 changed files with 245 additions and 47 deletions
+2
View File
@@ -120,6 +120,7 @@ export class Session extends EventEmitter<SessionEvents> {
maxReassembly: options.maxReassembly,
onRequest: options.onRequest,
reassemblyTimeout: options.reassemblyTimeout,
receiptIdFormat: options.smsIdFormat?.receipt,
session: this,
systemId: options.systemId,
});
@@ -209,6 +210,7 @@ export class Session extends EventEmitter<SessionEvents> {
const sent = await submitSms({
log: this.log,
reference: this.nextConcatReference(),
respIdFormat: this.options.smsIdFormat?.submitResp,
send: input => this.send(input, options),
}, sms);