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

Updates in Profile Name doesnot Sync across Peers #25

Open
bhavik-mangla opened this issue Dec 26, 2024 · 6 comments
Open

Updates in Profile Name doesnot Sync across Peers #25

bhavik-mangla opened this issue Dec 26, 2024 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@bhavik-mangla
Copy link
Contributor

When users update their profile name, the change isn’t propagated to nearby peers in real time, causing inconsistencies across different chat sessions. This issue aims to ensure instantaneous or near-instantaneous synchronization of user profile updates.

Goals:
• Immediately reflect profile name changes in all relevant client sessions.
• Maintain consistency in chat history by updating names used in recent messages (where applicable).

Possible Approach:
• Use nearby message broadcasting to inform all connected peers about the Update in a user’s profile
• Consider caching for offline users where updates need to sync once a connection is re-established between peers.

@dikshantbhangala
Copy link

Hi @bhavik-mangla can i cover up this issue??

@bhavik-mangla
Copy link
Contributor Author

Sure @dikshantbhangala,
it requires understanding of the peer to peer data transfer
So, make sure to first understand the code.

Refer to contribution guidelines here - https://discord.com/channels/1022871757289422898/1317925790939217974/1318047837111455815

@dikshantbhangala
Copy link

@bhavik-mangla plz checkout the pull request . done with change required in code

@khushi-hura
Copy link
Contributor

Hey @bhavik-mangla should I work on this issue?

@bhanu-dev82
Copy link
Contributor

Can you assign this issue to me ? Thankyou

@bhanu-dev82
Copy link
Contributor

The Issue is now fixed, kindly provide feedback @bhavik-mangla . The pull request link is #62

mebishnusahu0595 added a commit to mebishnusahu0595/OpenPeerChat-flutter that referenced this issue Feb 18, 2025
- Added real-time profile name broadcasting
- Implemented profile update handlers
- Updated database methods for name consistency
- Added UI notifications for name changes

Fixes AOSSIE-Org#25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants