Skip to content

xchat: fixed synchronization issues - #116

Open
highesttt wants to merge 4 commits into
mainfrom
highest/plat-38383
Open

xchat: fixed synchronization issues#116
highesttt wants to merge 4 commits into
mainfrom
highest/plat-38383

Conversation

@highesttt

@highesttt highesttt commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Checklist

PLAT-38383
PLAT-38382

@highesttt highesttt changed the title fix: plat-38383/plat-38384 - xchat would stop syncing randomly xchat: fixed synchronization issues Aug 14, 2026
Comment thread pkg/twittermeow/account.go Outdated
if len(resp.Errors) > 0 && resp.Errors[0].Message != "" {
return CurrentUserProfile{}, fmt.Errorf("GetUsersByIdsForXChat error: %s", resp.Errors[0].Message)
if len(resp.Errors) > 0 {
return CurrentUserProfile{}, fmt.Errorf("GetUsersByIdsForXChat returned %d GraphQL errors", len(resp.Errors))

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This looks like it's hiding information that was shown before, so maybe don't do that. Also, instead of repeating this for every call separately, it should probably just be handled in makeXChatQueryRequest? Implement the error interface for XChatGraphQLError, then use errors.Join if there are multiple

@highesttt
highesttt requested a review from Fizzadar August 17, 2026 16:56
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