fix(sync): Avoid replay panics and missing avatars #5

Merged
Wuast94 merged 1 commit from opencode/fix/replay-avatar into main 2026-08-25 10:02:01 +02:00
Owner

Summary

  • treat Lovoo history as immutable messages so existing events are skipped safely
  • bypass mautrix v0.30.0 profile GETs when setting a ghost avatar
  • cover replay event type and first-time avatar updates with regression tests

Verification

  • go test -tags=goolm -race -count=1 ./...
  • go vet -tags=goolm ./...
  • go build -tags=goolm ./cmd/mautrix-lovoo
  • scripts/test-devcontainer-isolation.sh
  • go mod verify
  • git diff --check
## Summary - treat Lovoo history as immutable messages so existing events are skipped safely - bypass mautrix v0.30.0 profile GETs when setting a ghost avatar - cover replay event type and first-time avatar updates with regression tests ## Verification - go test -tags=goolm -race -count=1 ./... - go vet -tags=goolm ./... - go build -tags=goolm ./cmd/mautrix-lovoo - scripts/test-devcontainer-isolation.sh - go mod verify - git diff --check
fix(sync): Avoid replay panics and missing avatars
All checks were successful
CI / Quality (pull_request) Successful in 3m54s
CI / Build (pull_request) Successful in 1m32s
579c561eb2
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Wuast94/mautrix-lovoo!5
No description provided.