Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inbox Model #59

Merged
merged 1 commit into from
Jan 29, 2025
Merged

Inbox Model #59

merged 1 commit into from
Jan 29, 2025

Conversation

prolic
Copy link
Collaborator

@prolic prolic commented Jan 29, 2025

  • Updated lmdb
  • Remove relay pool's responsibility to manage relays lists
  • Split initialization logic into separate functions
  • Add proper subscription cleanup
  • Remove redundant event collection code
  • Add batched metadata updates with delay
  • Subscribe to own profile metadata on inbox relays
  • Improve error messages for subscription handling
  • Use ownInboxRelays as fallback when contact has no general relays
  • Separate relay tag types (RTag for relay list metadata, RelayTag for DM relays)
  • Move subscriptions from RelayData to RelayPool for centralized management
  • Remove NewSubscriptionId effect and generate IDs in Subscribe handler
  • Simplify subscription lifecycle with pending/active states
  • Send SubscriptionClosed events when stopping subscriptions

- Updated lmdb
- Remove relay pool's responsibility to manage relays lists
- Split initialization logic into separate functions
- Add proper subscription cleanup
- Remove redundant event collection code
- Add batched metadata updates with delay
- Subscribe to own profile metadata on inbox relays
- Improve error messages for subscription handling
- Use ownInboxRelays as fallback when contact has no general relays
- Separate relay tag types (RTag for relay list metadata, RelayTag for DM relays)
- Move subscriptions from RelayData to RelayPool for centralized management
- Remove NewSubscriptionId effect and generate IDs in Subscribe handler
- Simplify subscription lifecycle with pending/active states
- Send SubscriptionClosed events when stopping subscriptions
@prolic prolic merged commit 51bff23 into master Jan 29, 2025
1 check passed
@prolic prolic deleted the inbox branch January 29, 2025 01:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant