summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2017-04-02 07:38:46 -0700
committerSean Whitton <spwhitton@spwhitton.name>2017-04-02 07:38:46 -0700
commitc9ba379d019153a68db09f0a286751c4c34891d8 (patch)
treee82aa142d008aa7eab8a1c40f78a74e94a7c2df5
parent986b407a6122d93c7237d56dbdc2dd51d37ea0e7 (diff)
parent41382c1c1b2e7782e175ba324601f1bf86f2209e (diff)
downloadbitlbee-facebook-c9ba379d019153a68db09f0a286751c4c34891d8.tar.gz
Merge tag 'v1.1.1'
-rw-r--r--ChangeLog7
-rw-r--r--configure.ac2
-rw-r--r--facebook/facebook-api.h28
3 files changed, 26 insertions, 11 deletions
diff --git a/ChangeLog b/ChangeLog
index 8f25fda..155c907 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,9 @@
-bitlbee-facebook-1.1.0 (2017-01-29):
+bitlbee-facebook-1.1.1 (2017-04-02):
+ - Send orca-formatted user agent for all HTTP requests too. Fixes "Failed to
+ parse thread information" errors when joining channels.
+ - Fix typo in the month of the 1.1.0 release in the next line
+
+bitlbee-facebook-1.1.0 (2017-03-29):
- Fix connection errors after facebook discontinued support for old versions
of facebook messenger for android. While most of the protocol implementation
was already above that version, there was a subtle change that broke fetching
diff --git a/configure.ac b/configure.ac
index e27bb58..80ab259 100644
--- a/configure.ac
+++ b/configure.ac
@@ -15,7 +15,7 @@
AC_INIT(
[bitlbee-facebook],
- [1.1.0],
+ [1.1.1],
[https://github.com/bitlbee/bitlbee-facebook/issues],
[bitlbee-facebook],
[https://github.com/bitlbee/bitlbee-facebook],
diff --git a/facebook/facebook-api.h b/facebook/facebook-api.h
index fa38d3d..7236b48 100644
--- a/facebook/facebook-api.h
+++ b/facebook/facebook-api.h
@@ -89,26 +89,36 @@
#define FB_API_SECRET "374e60f8b9bb6b8cbb30f78030438895"
/**
+ * FB_ORCA_AGENT
+ *
+ * The part of the user agent that looks like the official client, since the
+ * server started checking this.
+ *
+ * We announce ourselves as compatible with Orca-Android 38.0 since that's the
+ * closest version to the last major protocol update. Some parts use older
+ * features, some parts use newer ones.
+ *
+ * Fun fact: this version sends old-style MQIsdp CONNECT messages for the first
+ * connection, with JSON payloads instead of compressed thrift.
+ *
+ */
+
+#define FB_ORCA_AGENT "[FBAN/Orca-Android;FBAV/38.0.0.22.155;FBBV/14477681]"
+
+/**
* FB_API_AGENT:
*
* The HTTP User-Agent header.
*/
-#define FB_API_AGENT "Facebook plugin / BitlBee / " PACKAGE_VERSION
+#define FB_API_AGENT "Facebook plugin / BitlBee / " PACKAGE_VERSION " " FB_ORCA_AGENT
/**
* FB_API_MQTT_AGENT
*
* The client information string sent in the MQTT CONNECT message
- *
- * We announce ourselves as compatible with Orca-Android 38.0 since that's the
- * closest version to the last major protocol update. Some parts use older
- * features, some parts use newer ones.
- *
- * Fun fact: this version sends old-style MQIsdp CONNECT messages for the first
- * connection, with JSON payloads instead of compressed thrift.
*/
-#define FB_API_MQTT_AGENT FB_API_AGENT " [FBAN/Orca-Android;FBAV/38.0.0.22.155;FBBV/14477681]"
+#define FB_API_MQTT_AGENT FB_API_AGENT
/**