-
Notifications
You must be signed in to change notification settings - Fork 57
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
Option to chat with other party by selecting user from the People list. #10
Comments
Thanks for the post.
There is no option to do that currently. The user ID to join a group is different than the one used to contact the user directly which is a deliberate design decision to prevent someone from connecting to you in private chat just because you are in a public group.
There are a few ideas that can be implemented to make it easier to contact someone without causing privacy issues. The design has to walk the fine line of privacy and usefulness which makes it tough.
I agree that this is confusing since its not clear what the user ID is in the design. The user ID is generated such that you can have a single private cryptographic key and be able to generate different user ID to use. This is done so that you can change your user ID whenever required to prevent someone from stalking your. Since this is a p2p messenger, if the user ID is fixed then someone who has it will be able to find out your IP address whenever you are online. Changing the user ID prevents this issue.
To join a group, the new users have to create a group with same name and shared secret. There is no other mechanism available at the moment but some designs are planned to make it easier.
Currently the app is not in active development so a lot of features that usually are expected from a chat app are not available. But they will be added when the software development resumes.
The reason for this is that there are no servers to make that happen. Everything is p2p which means it will take some time until the user on the other side is discovered. There are timers running which will keep attempting to find the other user on the DHT network and it may take a while for this to work. Restating the app will just trigger the timer and you will feel that restart was the reason for it to work but its just that waiting for a couple of minutes would have had the same effect.
The local network group that is created by default is not a special kind of group. Its just that the app creates this "Local Network" names group when you install it and so all users have that same group and thus join it. The reason you cannot directly initiate private chat with the members is the same as discussed in the first point. |
Hi @ShreyasZare, Ok thanks for the response. I have one more doubt please. I am trying to use this application in network where people connected in different range of IP Addresses.
My network is such that all these IP addresses are reachable to each other, I mean can ping any IP address from each other. But in this network environment Mesh application did not list the other online users. In app's people section of "Lan Network", I could see only self user. Is it possible to use this application in the given network condition? if yes please suggest any changes needs to be done? Regards, |
Thanks for asking. Currently, the design that Mesh uses for local network discovery is only limited to the current subnet. Thus in a routed private network, Mesh will not be able to discover users from another subnet. The next Mesh upgrade has plans to make it possible but timeline for this is not known. |
ok thanks. |
Hi @ShreyasZare, For my use case I need to communicate 4 devices in different subnet, I understand current version supports only one subnet as u already explained. But I would like to try to customize the code for my requirement, can u please guide me to do that? Please let me know which section of code needs to be modified? This will help me to customize. Also any other valuable suggestions to how to go on customization for multiple subnet communication? Thanks |
Thanks for showing interest with contributing the project. The feature you are asking is not something which can be enabled with editing a few lines of code. It is quite complex since its p2p and there is no server to coordinate to discover chat clients on another LAN subnet. The feature will need redesigning a lot of things to make it work. Right now, the only way this would work is if all of the subnets have access to Internet. So, you can just connect via the Internet which needs at least one client to have public IP address to be able to coordinate with rest of the people in the group. |
Hi @ShreyasZare,
This messenger looks good, I have noticed that there are some issues related to user friendliness, some of the issues are listed below:
Regards,
Shiv Buyya
The text was updated successfully, but these errors were encountered: