Skip to content

fix(signal): use id instead of attachmentId in getAttachment RPC#2400

Merged
teknium1 merged 1 commit intomainfrom
hermes/hermes-5d6932ba
Mar 22, 2026
Merged

fix(signal): use id instead of attachmentId in getAttachment RPC#2400
teknium1 merged 1 commit intomainfrom
hermes/hermes-5d6932ba

Conversation

@teknium1
Copy link
Copy Markdown
Contributor

Cherry-picked from PR #2365 by @xerpert.

Three bugs preventing Signal image attachments from being processed:

  1. attachmentIdid in getAttachment RPC (matches signal-cli's actual API)
  2. Handle dict response format {"data": "base64..."} from signal-cli daemon
  3. MessageType.IMAGEMessageType.PHOTO (correct enum value — IMAGE doesn't exist)

33 signal tests passing.

Cherry-picked from PR #2365 by @xerpert.

Three bugs preventing Signal image attachments from being processed:
1. signal-cli getAttachment RPC expects 'id', not 'attachmentId'
2. signal-cli daemon returns dict {"data": "base64..."} not raw base64
3. MessageType.IMAGE doesn't exist — correct enum is MessageType.PHOTO
@teknium1 teknium1 merged commit a0f411c into main Mar 22, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant