aboutsummaryrefslogtreecommitdiffstats
path: root/facebook/facebook-api.h
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2017-07-07 05:49:57 -0300
committerdequis <dx@dxzone.com.ar>2017-07-07 06:22:20 -0300
commit8bbf163cfb796524754d7872e148c9793cd4452f (patch)
tree7d1d8dbd182295564896de80c6d4edca66e6043b /facebook/facebook-api.h
parent5352f5822f0d12655b1120f76ec712713aa02079 (diff)
downloadbitlbee-facebook-8bbf163cfb796524754d7872e148c9793cd4452f.tar.gz
bitlbee-facebook-8bbf163cfb796524754d7872e148c9793cd4452f.tar.bz2
bitlbee-facebook-8bbf163cfb796524754d7872e148c9793cd4452f.tar.xz
Add tweak values 1-15, sets orca version in the user agent
Since there are some issues I can't reproduce, let's do this experiment properly and figure out if this really matters. Value 1 is slightly newer. Value 2 is newer with the current set of fields. Value 3 is what purple-facebook uses. Adding 4 makes it http only, adding 8 makes it mqtt only. Some values are redundant. I suggest trying 1, 2, 3, 7 and 11.
Diffstat (limited to 'facebook/facebook-api.h')
-rw-r--r--facebook/facebook-api.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/facebook/facebook-api.h b/facebook/facebook-api.h
index 7236b48..3ed0e41 100644
--- a/facebook/facebook-api.h
+++ b/facebook/facebook-api.h
@@ -110,7 +110,8 @@
*
* The HTTP User-Agent header.
*/
-#define FB_API_AGENT "Facebook plugin / BitlBee / " PACKAGE_VERSION " " FB_ORCA_AGENT
+#define FB_API_AGENT_BASE "Facebook plugin / BitlBee / " PACKAGE_VERSION
+#define FB_API_AGENT FB_API_AGENT_BASE " " FB_ORCA_AGENT
/**
* FB_API_MQTT_AGENT