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

Fix Requesting and Discarding outgoing call #183

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

Conversation

joel122002
Copy link

call_access_hash was never assigned a value. This caused DiscardCall to fail as call_access_hash is none. Now call_access_hash is assigned the call access hash after RequestCall. This allows the user to start and discard an outgoing call

Client.send() no longer works hence switched to client.invoke().
Assign call_acess_hash after RequestCall
@joel122002 joel122002 changed the title Joel122002 patch 1 Fix Requesting and Discarding outgoing call Jul 2, 2022
@pablodgonzalez
Copy link

I now it is not supported, but this is working? I can't make it work @MarshalX @joel122002

@joel122002
Copy link
Author

@pa

I now it is not supported, but this is working? I can't make it work @MarshalX @joel122002

Do you just want to make a call? If so you can check out the my repo

@pablodgonzalez
Copy link

thanks @joel122002 but certainly I want to update the pyrogram version in my project that's is the reason i want to use this project because pytgvoip is not compatible anymore
I guess I'm losing something to make runable the code in test file. It's a pity this great library don't include the private call feature out of the box.
Rigth now, the request and accept call works but the start_call in the native_instance seems doesn't work.

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.

None yet

2 participants