Skip to content

twittermeow: Add operationName and extensions to SendMessageMutation payload#90

Merged
Selyatin merged 1 commit intomautrix:xchatfrom
Venkatnvs:fix/send-message-mutation-payload
Feb 26, 2026
Merged

twittermeow: Add operationName and extensions to SendMessageMutation payload#90
Selyatin merged 1 commit intomautrix:xchatfrom
Venkatnvs:fix/send-message-mutation-payload

Conversation

@Venkatnvs
Copy link
Contributor

SendMessageMutation was the only GraphQL mutation missing the operationName and Apollo extensions (persistedQuery + clientLibrary) fields. This matches what the browser sends and is consistent with all other mutations (DeleteMessage, MuteConversation, etc.).

This may fix DMs being accepted by the API but silently not delivered to the recipient's inbox.

@tulir tulir requested a review from Selyatin February 25, 2026 11:20
@tulir tulir changed the title Add operationName and extensions to SendMessageMutation payload twittermeow: Add operationName and extensions to SendMessageMutation payload Feb 25, 2026
SendMessageMutation was the only GraphQL mutation missing the
operationName and Apollo extensions (persistedQuery + clientLibrary)
fields. This matches what the browser sends and is consistent with
all other mutations (DeleteMessage, MuteConversation, etc.).

This may fix DMs being accepted by the API but silently not delivered
to the recipient's inbox.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Venkatnvs Venkatnvs force-pushed the fix/send-message-mutation-payload branch from 7b5ffa1 to 5e4be8d Compare February 25, 2026 13:04
Copy link
Collaborator

@Selyatin Selyatin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked and tested, lgtm.
Image

@Selyatin Selyatin merged commit 5d93c42 into mautrix:xchat Feb 26, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants