Removed
Link Here
|
1 |
From 55b9f01d040b240b794700f44d9c21a6cb51251e Mon Sep 17 00:00:00 2001 |
2 |
From: Eion Robb <eion@robbmob.com> |
3 |
Date: Wed, 30 Jun 2021 09:53:47 +1200 |
4 |
Subject: [PATCH] Fix for 429 errors |
5 |
|
6 |
Fixes issue #222 |
7 |
--- |
8 |
hangouts_auth.c | 5 +++++ |
9 |
1 file changed, 5 insertions(+) |
10 |
|
11 |
diff --git a/hangouts_auth.c b/hangouts_auth.c |
12 |
index 025f4f9..d988c3a 100644 |
13 |
--- a/hangouts_auth.c |
14 |
+++ b/hangouts_auth.c |
15 |
@@ -258,6 +258,11 @@ hangouts_auth_get_session_cookies_got_cb(PurpleHttpConnection *http_conn, Purple |
16 |
return; |
17 |
} |
18 |
|
19 |
+ purple_http_cookie_jar_set(ha->cookie_jar, "__Secure-3PSID", NULL); |
20 |
+ purple_http_cookie_jar_set(ha->cookie_jar, "__Host-3PLSID", NULL); |
21 |
+ purple_http_cookie_jar_set(ha->cookie_jar, "__Secure-3PAPISID", NULL); |
22 |
+ purple_http_cookie_jar_set(ha->cookie_jar, "__Host-GAPS", NULL); |
23 |
+ |
24 |
//Restore the last_event_timestamp before it gets overridden by new events |
25 |
last_event_timestamp = purple_account_get_int(ha->account, "last_event_timestamp_high", 0); |
26 |
if (last_event_timestamp != 0) { |