yaxim-org / yaxim

yaxim - a lean XMPP/Jabber client for Android
https://yaxim.org
GNU General Public License v3.0
486 stars 238 forks source link

GTalk contacts appear offline #201

Open zap150 opened 7 years ago

zap150 commented 7 years ago

Since version 0.9 the GTalk contacts show offline, even though they are not. Sometimes, reconnecting solves the issue, more often it does not.

OnePlus 3, OOS 4.1.3 (Android 7.1)

ge0rg commented 7 years ago

Google has been slowly killing XMPP for their users for the last four years... https://www.theverge.com/2017/3/24/15051272/google-talk-gchat-replaced-hangouts-messaging-gmail

I suppose the real bug is that yaxim is still advertising support for GTalk and Facebook, while both have more or less killed it.

Sorry, there is nothing I can do about it :(

zap150 commented 7 years ago

Could be, however, Xabber still works all right (although I like the Yaxim's simple interface MUCH more). I understand you do not want to invest additional time, though. Consider removing the support of gtalk from description of the app...

ge0rg commented 7 years ago

You are using yaxim and Xabber with the same account, on a different server than Gmail? In that case, both clients should work the same way and show the same contacts as online / offline.

The real issue here is that as soon as your contacts use Hangouts, they won't be seen by you any more, won't see you, and won't receive your messages.

zap150 commented 7 years ago

I use both only for gtalk, both with the same account. I do not use hangouts at all - on mac os I use the built in im client with no problems as well.

ge0rg commented 7 years ago

So you have configured your gmail account in yaxim / Xabber then?

zap150 commented 7 years ago

Sorry, I do not quite understand this. I use a single gmail account everywhere, I only have had one since a long time ago.

ge0rg commented 7 years ago

Have you configured your gmail account in yaxim, or are you using a different XMPP account to talk to your gmail friends? What is the domain name in the address that is shown in yaxim's notification?

zap150 commented 7 years ago

No, it's always gmail. I do not use any other xmpp account.

ge0rg commented 7 years ago

Understood. I will have a check of the code.

zap150 commented 7 years ago

Hi, any updates on this?

ge0rg commented 6 years ago

Sorry that it took so long, I was looking for a gmail user that I could test this with. So far I found the following behavior:

  1. Log in with yaxim to Gmail
  2. Your contact appears as offline (Gmail server does not send any presence from that contact)
  3. Send a message to the contact
  4. Gmail will send the user's current presence

This looks like an anti-spam / anti-surveillance mechanism by google, as far as I can see. There is nothing in yaxim that I could do to change the situation.

zap150 commented 6 years ago

Thanks for clarification. However, this is weird since Xabber does not exhibit this behaviour and I can see the contacts straightaway. Can this be solved by some automating 'pinging' of the contacts?