Closed ticktostick closed 1 year ago
https://github.com/hoehermann/purple-gowhatsapp/issues/130#issuecomment-1239517437
The problem is in spectrum skipping the message I think witch should not happen
Conversation: Carbon to @.*/gajim.JUJJGR6U skipped (originated entity)
You can try to revert this commit https://github.com/SpectrumIM/spectrum2/commit/7d7680cce82f1c036f29581cb3163162d3298e96 and test if that helps. In my case I see sometimes messages are echoed back to the originated resource and that is why this commit was added
I have Tried That Now I don't have skipped Carbon copy But instead I have This
Conversation: Carbon <sent> to -> */gajim.JUJJGR6U
2022-09-11 08:49:24,712 DEBUG Conversation: Impersonate to -> *.*
2022-09-11 08:49:24,712 DEBUG Conversation: Impersonate: sending message
2022-09-11 08:49:24,713 INFO Component.RAW: RAW DATA OUT <message from="whatsapp*" to="*.*"><privilege xmlns="urn:xmpp:privilege:1"><forwarded xmlns="urn:xmpp:forward:0"><message from="myjid" to="myjid"> type="chat" xmlns="jabber:client"><sent xmlns="urn:xmpp:carbons:2"><forwarded xmlns="urn:xmpp:forward:0"><message from="*/gajim.JUJJGR6U" to="*.whatsapp.net@whatsapp*/ <*.*/bot" type="chat" xmlns="jabber:client"><body>Test7</body><active xmlns="http://jabber.org/protocol/chatstates"/></message></forwarded></sent><no-copy xmlns="urn:xmpp:hints"/></message></forwarded></privilege></message>
2022-09-11 08:49:24,714 INFO Component.RAW: RAW DATA IN <message to='whatsapp*' from='*.*' type='error'><privilege xmlns='urn:xmpp:privilege:1'><forwarded xmlns='urn:xmpp:forward:0'><message xmlns='jabber:client' from=> from='*.*' to='*.*' type='chat'><sent xmlns='urn:xmpp:carbons:2'><forwarded xmlns='urn:xmpp:forward:0'><message xmlns='jabber:client' from='*/gajim.JUJJGR6U' to='* 3*.whatsapp.net@*/bot' type='chat'><body>Test7</body><active xmlns='http://jabber.org/protocol/chatstates'/></message></forwarded></sent><no-copy xmlns='urn:xmpp:hints'/></message></forwarded></privilege><erro> <error type='cancel'><item-not-found xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/><text xml:lang='en' xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>No available resource found</text></error></message>
2022-09-11 08:49:24,716 WARN AdminInterface: Message not from admin user, but from (mydomain)
2022-09-11 08:49:24,716 INFO Component.RAW: RAW DATA IN <message to='whatsapp*' from='*.*' type='error'><privilege xmlns='urn:xmpp:privilege:1'><forwarded xmlns='urn:xmpp:forward:0'><message xmlns='jabber:client' from=>
2022-09-11 08:49:24,717 WARN AdminInterface: Message not from admin user, but from (mydomain)
2022-09-11 08:49:24,717 INFO Component.RAW: RAW DATA IN <message to='whatsapp*' from='*.*' type='error'><privilege xmlns='urn:xmpp:privilege:1'><forwarded xmlns='urn:xmpp:forward:0'><message xmlns='jabber:client' from=>
2022-09-11 08:49:24,718 WARN AdminInterface: Message not from admin user, but from *.*(mydomain)
I have 3 line each for one of my 3 xmpp clients
That seems to me like privilege module is not enabled for this component?
using spectrum2 latest build from source getting this error on purple backend log (libpurple build from source) The message from mobile phone is not replicated on purple but all other parts works ok (messages sending from others and messages send by me from other than main mobile phone) ERROR backend: g_log purple_conversation_get_im_data: assertion 'conv != NULL' failed DEBUG backend: conv_write_im(): msg='?', flags=66561
don't have this problem on pidgin (without Spectrum2 gateway)