Say only what the SMSC marked, and trim the comments the review found redundant

This commit is contained in:
2026-09-03 19:16:13 +02:00
parent 50679ec2fe
commit dd458bfa53
4 changed files with 6 additions and 9 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ export function parseReceipt(message: string): Receipt {
type MessageType = 'intermediate' | 'other' | 'receipt' | 'unmarked';
/** The types the far-end SME writes, rather than the MC reporting. The spec reserves the remaining ten. */
/** Written by the far-end SME, not by the MC reporting on a message we submitted. */
const smeMessageTypes: number[] = [
consts.ESM_CLASS.CONVERSATION_ABORT,
consts.ESM_CLASS.DELIVERY_ACKNOWLEDGEMENT,