fix(login): Start sync after session import #3

Merged
Wuast94 merged 1 commit from opencode/fix/start-login-sync into main 2026-08-25 08:26:15 +02:00
Owner

Summary

  • start the bridgev2 login immediately after persisting a valid Lovoo session
  • expose completion instructions to provisioning clients

Root cause

User.NewLogin loads and stores the client but does not call Connect. The command accepted and redacted the cURL, then left the login idle until a process restart.

Verification

  • go test -tags=goolm -race ./...
  • go vet -tags=goolm ./...
  • go build -tags=goolm ./cmd/mautrix-lovoo
  • live session import and conversation fetch
## Summary - start the bridgev2 login immediately after persisting a valid Lovoo session - expose completion instructions to provisioning clients ## Root cause `User.NewLogin` loads and stores the client but does not call `Connect`. The command accepted and redacted the cURL, then left the login idle until a process restart. ## Verification - `go test -tags=goolm -race ./...` - `go vet -tags=goolm ./...` - `go build -tags=goolm ./cmd/mautrix-lovoo` - live session import and conversation fetch
fix(login): Start sync after session import
All checks were successful
CI / Quality (pull_request) Successful in 1m6s
CI / Build (pull_request) Successful in 41s
07fe046274
Start the newly persisted bridge login immediately so the initial Lovoo sync and polling loop run without waiting for a pod restart.
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!3
No description provided.