EionRobb / purple-hangouts

47 stars 4 forks source link

Incoming typing notifications not working #184

Closed EionRobb closed 6 years ago

EionRobb commented 6 years ago

Original report by Daniel Lenski (Bitbucket: [Daniel Lenski](https://bitbucket.org/Daniel Lenski), ).


I'm using the latest build (e4ccf26) with Pidgin 3.0.0devel / libpurple 3.x.

I've noticed that, recently, I don't receive any incoming typing notifications ("User Name is typing…") from my Hangouts account. It appears that purple-hangouts is still sending outgoing typing notifications, however.

I tried uncommenting the debug logging in hangouts_received_typing_notification, but I still don't see any information about typing notifications…

diff --git a/hangouts_events.c b/hangouts_events.c
index eb5d494..b4526f2 100644
--- a/hangouts_events.c
+++ b/hangouts_events.c
@@ -910,8 +910,8 @@ hangouts_received_typing_notification(PurpleConnection *pc, 

        ha = purple_connection_get_protocol_data(pc);

-       //purple_debug_info("hangouts", "Received new typing event %p\n", typing
-       //purple_debug_info("hangouts", "%s\n", pblite_dump_json((ProtobufCMessa
+       purple_debug_info("hangouts", "Received new typing event %p\n", typing_n
+       purple_debug_info("hangouts", "%s\n", pblite_dump_json((ProtobufCMessage
        /* {
         "state_update_header" : {
                 "active_client_state" : ACTIVE_CLIENT_STATE_OTHER_ACTIVE,

Has anyone else been having this problem? Is it possible that something about the format or structure of typing notifications has changed? I still receive them fine using a months-old version of Hangouts on Android.

EionRobb commented 6 years ago

Original comment by Eion Robb (Bitbucket: EionRobb, GitHub: EionRobb).


Hmm, I'm still seeing them, but it could be a change to hangouts that's rolling out slowly. Are you seeing the typing notifications on hangouts.google.com? Are you seeing them in your Pidgin on other protocols?

EionRobb commented 6 years ago

Original comment by Daniel Lenski (Bitbucket: [Daniel Lenski](https://bitbucket.org/Daniel Lenski), ).


Are you seeing the typing notifications on hangouts.google.com? Are you seeing them in your Pidgin on other protocols?

Yes to both.

EDIT: ignore this… I think it's just a (confusing IMHO) change in the way Pidgin 3.0 shows these… PEBKAC error ☹

EionRobb commented 6 years ago

Original comment by Daniel Lenski (Bitbucket: [Daniel Lenski](https://bitbucket.org/Daniel Lenski), ).


Pidgin 3.0.0 just shows these… differently.