hangupsjs was not recognizing an important field in message attachments, namely what in this pull request is the embedded google plus photo.
A photo is sent using this field when using the attachment icon in the web interface, upload from mobile devices and when using stickers using official apps.
HUGE thanks to @nave7693 that actually did the whole work in abstract.
I merely implemented the right mapping for the DictField and allowed for the fields to be named.
This is a repost of #55, which is a repost of #46 rebased to latest master
--- text from @nave7693 in #55
Added a DictField to support the way hangout is embedding links to images in their JSON. Implemented parsing of the PLUS_PHOTO type though it is a slight variation from tdryer's protocol doc.
hangupsjs was not recognizing an important field in message attachments, namely what in this pull request is the embedded google plus photo.
A photo is sent using this field when using the attachment icon in the web interface, upload from mobile devices and when using stickers using official apps.
HUGE thanks to @nave7693 that actually did the whole work in abstract.
I merely implemented the right mapping for the DictField and allowed for the fields to be named.
This is a repost of #55, which is a repost of #46 rebased to latest master
--- text from @nave7693 in #55
Added a DictField to support the way hangout is embedding links to images in their JSON. Implemented parsing of the PLUS_PHOTO type though it is a slight variation from tdryer's protocol doc.