Closed Myppomeu closed 8 years ago
Load pidgin with --debug. It will probably complain about not being able to load whatsapp.so and will give you an explanation for that (ie. missing symbols or something).
Yes, you are right. I miss libfreeimage. After installing all works correct. Thanks for an answer and good lib =) Think issue can be closed now. P.S. Maybe add dependencies in readme?
Debian 8 x64 libprotobuf9 2.6.1-1 libpurple0 2.10.11-1
I've tried both 0.9.0 and a802c9a compiled manually.
When using with Pidgin 2.10.11-1, no whatsapp protocol appears in protocol list.
When using as transport with Spectrum 2.02 and Ejabberd 16.01, transport registration passed well. If someone sends me message, it displayed like arrived and readed, but actually I did not receive any messages. That's what /var/log/spectrum2/whatsapp.xmpp/spectrum2.log says with a802c9a version:
2016-02-17 01:42:50,125 INFO ConversationManager: ilia@xmpp: Adding conversation 79xxxxxxxx8 2016-02-17 01:42:50,125 INFO Component.RAW: RAW DATA OUT <message from="79xxxxxxxx8@whatsapp.xmpp/bot" to="ilia@xmpp" type="chat"><body></body></message>
And 0.9.0:
2016-02-17 01:34:35,279 INFO ConversationManager: ilia@xmpp: Adding conversation 79xxxxxxxx8 2016-02-17 01:34:35,279 INFO Component.RAW: RAW DATA OUT <message from="79xxxxxxxx8@whatsapp.xmpp/bot" to="ilia@xmpp" type="chat"><body></body></message> 2016-02-17 01:34:36,299 INFO Component.RAW: RAW DATA IN <iq from='ilia@xmpp/hm' to='whatsapp.xmpp' xml:lang='ru' id='be5ec50c-020d-436e-bdbb-961d7bc508c2' type='result'><query xmlns='http://jabber.org/protocol/disco#info'><identity category='client' type='pc' name='Gajim'/><feature var='http://jabber.org/protocol/bytestreams'/><feature var='http://jabber.org/protocol/si'/><feature var='http://jabber.org/protocol/si/profile/file-transfer'/><feature var='http://jabber.org/protocol/muc'/><feature var='http://jabber.org/protocol/muc#user'/><feature var='http://jabber.org/protocol/muc#admin'/><feature var='http://jabber.org/protocol/muc#owner'/><feature var='http://jabber.org/protocol/muc#roomconfig'/><feature var='http://jabber.org/protocol/commands'/><feature var='http://jabber.org/protocol/disco#info'/><feature var='ipv6'/><feature var='jabber:iq:gateway'/><feature var='jabber:iq:last'/><feature var='jabber:iq:privacy'/><feature var='jabber:iq:private'/><feature var='jabber:iq:register'/><feature var='jabber:iq:version'/><feature var='jabber:x:data'/><feature var='jabber:x:encrypted'/><feature var='msglog'/><feature var='sslc2s'/><feature var='stringprep'/><feature var='urn:xmpp:ping'/><feature var='urn:xmpp:time'/><feature var='urn:xmpp:ssn'/><feature var='http://jabber.org/protocol/mood'/><feature var='http://jabber.org/protocol/activity'/><feature var='http://jabber.org/protocol/nick'/><feature var='http://jabber.org/protocol/rosterx'/><feature var='urn:xmpp:sec-label:0'/><feature var='urn:xmpp:hashes:1'/><feature var='urn:xmpp:hash-function-textual-names:md5'/><feature var='urn:xmpp:hash-function-textual-names:sha-1'/><feature var='urn:xmpp:hash-function-textual-names:sha-256'/><feature var='urn:xmpp:hash-function-textual-names:sha-512'/><feature var='urn:xmpp:message-correct:0'/><feature var='jabber:x:conference'/><feature var='urn:xmpp:tmp:jingle:transports:sxe'/><feature var='urn:xmpp:sxe:0'/><feature var='http://jabber.org/protocol/games'/><feature var='http://jabber.org/protocol/games/tictactoe'/><feature var='http://jabber.org/protocol/mood+notify'/><feature var='http://jabber.org/protocol/activity+notify'/><feature var='http://jabber.org/protocol/tune+notify'/><feature var='http://jabber.org/protocol/nick+notify'/><feature var='http://jabber.org/protocol/geoloc+notify'/><feature var='http://jabber.org/protocol/chatstates'/><feature var='http://jabber.org/protocol/xhtml-im'/><feature var='urn:xmpp:receipts'/><feature var='urn:xmpp:jingle:1'/><feature var='urn:xmpp:jingle:apps:rtp:1'/><feature var='urn:xmpp:jingle:apps:rtp:audio'/><feature var='urn:xmpp:jingle:apps:rtp:video'/><feature var='urn:xmpp:jingle:transports:ice-udp:1'/><feature var='urn:xmpp:jingle:apps:file-transfer:3'/><feature var='urn:xmpp:jingle:security:xtls:0'/><feature var='urn:xmpp:jingle:transports:s5b:1'/><feature var='urn:xmpp:jingle:transports:ibb:1'/></query></iq> 2016-02-17 01:34:36,300 INFO User: ilia@xmpp/hm: got disco#info 2016-02-17 01:34:37,073 INFO Component.RAW: RAW DATA OUT <message from="79xxxxxxxx8@whatsapp.xmpp/bot" to="ilia@xmpp" type="chat"><composing xmlns="http://jabber.org/protocol/chatstates"/></message> 2016-02-17 01:34:38,325 INFO Component.RAW: RAW DATA OUT <message from="79xxxxxxxx8@whatsapp.xmpp/bot" to="ilia@xmpp" type="chat"><active xmlns="http://jabber.org/protocol/chatstates"/></message> 2016-02-17 01:34:38,326 INFO Component.RAW: RAW DATA OUT <message from="79xxxxxxxx8@whatsapp.xmpp/bot" to="ilia@xmpp" type="chat"><body></body></message>