/soc/2015/jgeboski/facebook: bf3c5b94071f: facebook: allow offli...
James Geboski
jgeboski at gmail.com
Sun Jul 12 17:28:28 EDT 2015
Changeset: bf3c5b94071f1229e463d22dcc1ef141d1f6e6be
Author: James Geboski <jgeboski at gmail.com>
Date: 2015-07-12 17:28 -0400
Branch: facebook
URL: https://hg.pidgin.im/soc/2015/jgeboski/facebook/rev/bf3c5b94071f
Description:
facebook: allow offline messages to buddies
diffstat:
libpurple/protocols/facebook/facebook.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diffs (24 lines):
diff --git a/libpurple/protocols/facebook/facebook.c b/libpurple/protocols/facebook/facebook.c
--- a/libpurple/protocols/facebook/facebook.c
+++ b/libpurple/protocols/facebook/facebook.c
@@ -565,6 +565,12 @@ fb_client_blist_node_menu(PurpleBlistNod
return g_list_reverse(acts);
}
+static gboolean
+fb_client_offline_message(const PurpleBuddy *buddy)
+{
+ return TRUE;
+}
+
static gint
fb_im_send(PurpleConnection *gc, PurpleMessage *msg)
{
@@ -904,6 +910,7 @@ static void
facebook_protocol_client_iface_init(PurpleProtocolClientIface *iface)
{
iface->blist_node_menu = fb_client_blist_node_menu;
+ iface->offline_message = fb_client_offline_message;
}
static void
More information about the Commits
mailing list