purple-googlechat icon indicating copy to clipboard operation
purple-googlechat copied to clipboard

Group chat loses messages sent when I’m offline

Open Hawk777 opened this issue 3 years ago • 14 comments

I shut down Pidgin. Someone else sends a message to a group chat (“space”). I start Pidgin. The message doesn’t appear. Given that the most recent commit was 29 days ago, I believe I am running the head of master as of time of writing (https://github.com/EionRobb/purple-googlechat/commit/b6b824a4764b51316f7be325492575684647e021).

Hawk777 avatar Dec 04 '22 19:12 Hawk777

This also happens with normal chats for me.

rvdborgt avatar Jan 11 '23 20:01 rvdborgt

I have a contact for whom this has been a consistent issue now for at least a month as well, in ordinary 1:1 chats.

Deledrius avatar Jan 12 '23 18:01 Deledrius

Does anyone have any suggestions for how to start looking into fixing this, if I had time to do so? Where would one even learn that part of Google’s protocol? Are the /api/ endpoints documented anywhere? Or do you reverse engineer them from the network requests sent by the web UI using browser debug tools? Or do you get the information from somewhere else?

Hawk777 avatar Jun 16 '23 15:06 Hawk777

There appears to be a documented API here, but this plugin appears not to be using it, I assume for a good reason.

Hawk777 avatar Jun 16 '23 15:06 Hawk777

I'm afraid I won't be of much help fixing this (not being a programmer myself) but IMO this is currently the most annoying problem of the Google Chat plugin. I don't even need to be offline for messages to get lost. It also happens in a normal 1:1 chat while we're both online. Messages may come later (and then they're in the wrong order if I wrote something in between them) or not at all. The plugin is currently not reliable unfortunately, so I do hope someone will have some time diving into it.

rvdborgt avatar Jun 22 '23 21:06 rvdborgt

There appears to be a documented API here, but this plugin appears not to be using it, I assume for a good reason.

The good reason is that that API only works for users in Google Workspaces (i.e. paid tier), not us ordinary plebs using Google Chat. It doesn’t seem to be documented anywhere reasonable AFAICT, but if you get a Google developer account and try to actually create an app and enable the official Google Chat API, you end up with a message in the app control panel saying so.

Hawk777 avatar Nov 05 '23 07:11 Hawk777

Also have this issue in normal chat, it misses some message from others and also did not send some meesages out from my side.....

r91085 avatar Dec 15 '23 05:12 r91085