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

Adding different incoming detection handling. #4

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

alienhunter3
Copy link

@alienhunter3 alienhunter3 commented Jan 3, 2025

Closes #3

I'm not sure if this incoming connection detection logic is sufficient, but I feel like 99% of the time, a connection is going to be incoming if the call_to is one of the registered callsigns. This is the part of this change that I'm the most uncertain about; the other changes should fix the issues assuming that the 'incoming' property is getting correctly set on the Connection objects that get created. (edited, since the change to init.py wasn't necessary.)

Thanks again for creating this fantastic project for me to play with!!

@alienhunter3
Copy link
Author

Updated. The change to incoming = message.startswith('*** CONNECTED To ') wasn't necessary.

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.

Incoming connections not created correctly
1 participant