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

Switching from hangouts to chat #384

Merged
merged 2 commits into from
Nov 23, 2022
Merged

Conversation

ahmadhany
Copy link
Contributor

In reference to this issue, I figured out the reason behind it.

In short: Google has migrated Hangouts to Chat, so Hangouts no longer exist, and some parts of the code still use some hangouts stuff.

The solution:

  • Removed Hangouts key and hash token from data.txt

  • Replaced Hangouts key with Chat key

  • Dynamically generating Chat token based on the Chat key and the Chat origin: 'chat.google.com'

  • Saving Chat key and token in data.txt file

    in is_email_google_account() func:

  • Using Chat key and token instead of Hangout's ones

  • Removed all Hangouts claims from the URL

  • Replaced the origin 'hangouts.google.com' by 'chat.google.com'

Be noted that this pull request includes 380's changes.

@mxrch mxrch merged commit 5a20e78 into mxrch:master Nov 23, 2022
@mxrch
Copy link
Owner

mxrch commented Nov 23, 2022

It works well ! Thank you ❤️

@Ruane-Corteze
Copy link

how did you do it can you explain to me

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.

4 participants