View | Details | Raw Unified | Return to bug 259291
Collapse All | Expand All

(-)b/net-im/purple-hangouts/Makefile (+2 lines)
Lines 2-7 Link Here
2
2
3
PORTNAME=	purple-hangouts
3
PORTNAME=	purple-hangouts
4
PORTVERSION=	20190607
4
PORTVERSION=	20190607
5
PORTREVISION=	1
5
CATEGORIES=	net-im
6
CATEGORIES=	net-im
6
MASTER_SITES=	https://bitbucket.org/EionRobb/${PORTNAME}/get/
7
MASTER_SITES=	https://bitbucket.org/EionRobb/${PORTNAME}/get/
7
# Commit tag. Must be changed according with PORTVERSION.
8
# Commit tag. Must be changed according with PORTVERSION.
Lines 19-24 LIB_DEPENDS= libpurple.so:net-im/libpurple \ Link Here
19
20
20
USES=		gmake gnome pkgconfig zip
21
USES=		gmake gnome pkgconfig zip
21
USE_GNOME=	glib20
22
USE_GNOME=	glib20
23
PATCH_STRIP=	-p1 --ignore-whitespace
22
24
23
WRKSRC=		${WRKDIR}/EionRobb-${PORTNAME}-${DISTNAME}
25
WRKSRC=		${WRKDIR}/EionRobb-${PORTNAME}-${DISTNAME}
24
26
(-)b/net-im/purple-hangouts/files/patch-429 (+26 lines)
Added 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) {

Return to bug 259291