Skip to content
This repository has been archived by the owner on Dec 7, 2018. It is now read-only.

Commit

Permalink
emergency fix for hangoutsbot/hangoutsbot#478
Browse files Browse the repository at this point in the history
  • Loading branch information
endofline committed Jan 14, 2016
1 parent 0818ade commit 84aee94
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions hangups/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
ORIGIN_URL = 'https://talkgadget.google.com'
IMAGE_UPLOAD_URL = 'https://docs.google.com/upload/photos/resumable'
PVT_TOKEN_URL = 'https://talkgadget.google.com/talkgadget/_/extension-start'
CHAT_INIT_URL = 'https://talkgadget.google.com/u/0/talkgadget/_/chat'
CHAT_INIT_URL = 'https://hangouts.google.com/webchat/u/0/load'
CHAT_INIT_PARAMS = {
'prop': 'aChromeExtension',
'fid': 'gtn-roster-iframe-id',
Expand Down Expand Up @@ -233,7 +233,8 @@ def _initialize_chat(self):
# cgserp?
# data_dict['ds:21'][0][1][4]
# data_dict['ds:35'][0][1][4]
data_dict['ds:21'][0][1][4]
# data_dict['ds:21'][0][1][4]
data_dict['ds:20'][0][1][4]
)
except KeyError as e:
raise exceptions.HangupsError('Failed to get initialize chat '
Expand Down

0 comments on commit 84aee94

Please sign in to comment.