Skip to content

handlelinkedin: guard against nil reacted-to message - #65

Merged
Fizzadar merged 1 commit into
mainfrom
nick/linkedin-reaction-nil-message
Sep 15, 2026
Merged

Fizzadar merged 1 commit into
mainfrom
nick/linkedin-reaction-nil-message

Conversation

@Fizzadar

Copy link
Copy Markdown
Member

No description provided.

Realtime reaction summaries for a message with no local part crashed the
process: GetFirstPartByID returns (nil, nil) on not-found but the handler
only checked the error before dereferencing messageData.Room.

Return early when the reacted-to message isn't found, matching the seen
receipt handler.
@Fizzadar
Fizzadar merged commit 826dbb2 into main Sep 15, 2026
15 checks passed
@Fizzadar
Fizzadar deleted the nick/linkedin-reaction-nil-message branch September 15, 2026 15:58
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.

1 participant