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

remove followRelay from Follow type #57

Merged
merged 1 commit into from
Jan 29, 2025
Merged

remove followRelay from Follow type #57

merged 1 commit into from
Jan 29, 2025

Conversation

prolic
Copy link
Collaborator

@prolic prolic commented Jan 29, 2025

The followRelay field in the Follow type has been removed as it's redundant with NIP-65 (RelayListMetadata). Instead of storing relay information with each follow, we now rely on RelayListMetadata events to discover which relays to use for each contact.

  • Reduces complexity in follow list handling
  • Removes duplicate relay information storage

event ID handling and post notifications

  • Fix event ID serialization to avoid double quotes in QML
  • Add missing notifications for post changes
  • Store events locally before publishing
  • Fix repost handling in MainContent.qml

The followRelay field in the Follow type has been removed as it's redundant with
NIP-65 (RelayListMetadata). Instead of storing relay information with each follow,
we now rely on RelayListMetadata events to discover which relays to use for each
contact.

- Reduces complexity in follow list handling
- Removes duplicate relay information storage

event ID handling and post notifications

- Fix event ID serialization to avoid double quotes in QML
- Add missing notifications for post changes
- Store events locally before publishing
- Fix repost handling in MainContent.qml
@prolic prolic merged commit 35a130d into master Jan 29, 2025
1 check passed
@prolic prolic deleted the relaylistmetadata branch January 29, 2025 01:37
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