Skip to content

Fix the email field number#102

Closed
tomasz-musialek wants to merge 1 commit intoyakyak:masterfrom
tomasz-musialek:master
Closed

Fix the email field number#102
tomasz-musialek wants to merge 1 commit intoyakyak:masterfrom
tomasz-musialek:master

Conversation

@tomasz-musialek
Copy link
Copy Markdown

HangupsJS stopped working about an hour ago due to the changes in the HTML that Google returns and as result YakYak stopped working too.

Fixing the email field number in the "yakyak-linux-x64/resources/app/node_modules/hangupsjs/lib/init.js" from "ds:36" to "ds:33" seems to solve the problem, so I suppose changing it here in the "src/init.coffee" file should do the trick.

I think this will require a new binary release of YakYak too.

@tomasz-musialek
Copy link
Copy Markdown
Author

tomasz-musialek commented Oct 24, 2018

CI tests seem to fail, but it's likely that due to how Google renumbered the fields, the tests need to be updated to reflect the new structure.

@averissimo
Copy link
Copy Markdown
Member

@tomasz-musialek can you confirm that current master fixes this?

there was a small difference between your pull request and #104

@tomasz-musialek
Copy link
Copy Markdown
Author

@averissimo Yes, current master seems to fix this, so this pull request may be closed.

@averissimo
Copy link
Copy Markdown
Member

@tomasz-musialek thanks for the quick patch!!

I'm a bit concerned that you are using a different index for the email than of the current master

@tomasz-musialek
Copy link
Copy Markdown
Author

tomasz-musialek commented Oct 26, 2018

@averissimo

I created the patch in under an hour after Google changed the HTML they return. It worked fine and a few people thanked me for that, but after ANOTHER hour Google changed it AGAIN.

The current master reflects the Google's changes after that second change, so it's up-to-date with current Google's structures - but Google changes those structures every few months, or so, so we might need to find a more robust solution - some heuristics, maybe? I know "heuristics" might not sound too stable, but either way it's not very stable, because we're using internal, undocumented Google's API anyway.

Btw. is there any document specifying the (non-official, obviously) Hangouts' API?

@averissimo
Copy link
Copy Markdown
Member

averissimo commented Oct 26, 2018

Ok, thanks, I did not dive to the code and run it to retroengineer the response :)

The best description that I know of is in https://github.com/tdryer/hangups/ repository. The js implementation is based on this.

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.

2 participants