diff options
author | dequis <dx@dxzone.com.ar> | 2018-02-16 00:26:31 +0300 |
---|---|---|
committer | dequis <dx@dxzone.com.ar> | 2018-02-16 00:26:31 +0300 |
commit | 68ca266c266c87119daadfa3e0a49dacab184f91 (patch) | |
tree | dc5784092adb96b1469971259f4f22b47bd2a341 | |
parent | adf67d6d85cf626bf325ca8dd4e30ffc4b654830 (diff) |
work: forgot the fbdata part of the patchwip-work-chat
-rw-r--r-- | patches/13-work-fbdata.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/patches/13-work-fbdata.patch b/patches/13-work-fbdata.patch new file mode 100644 index 0000000..b996769 --- /dev/null +++ b/patches/13-work-fbdata.patch @@ -0,0 +1,16 @@ +--- a/libpurple/protocols/facebook/data.c ++++ b/libpurple/protocols/facebook/data.c +@@ -219,6 +219,13 @@ + ret = FALSE; + } + ++ if (purple_account_get_bool(acct, "work", FALSE)) { ++ g_value_init(&val, G_TYPE_BOOLEAN); ++ g_value_set_boolean(&val, TRUE); ++ g_object_set_property(G_OBJECT(priv->api), "work", &val); ++ g_value_unset(&val); ++ } ++ + fb_api_rehash(priv->api); + return ret; + } |