Commit b305ea39 authored by Junker's avatar Junker
Browse files

fix 'signed-on' callback

parent 517e2ca9
......@@ -362,6 +362,11 @@ void jabber_hfu_xfer_send(PurpleConnection *gc, const char *who, const char *fil
static void jabber_hfu_signed_on_cb(PurpleConnection *conn, void *data)
{
PurpleAccount *account = purple_connection_get_account(conn);
if (strcmp(JABBER_PLUGIN_ID, purple_account_get_protocol_id(account)))
return;
JabberStream *js = purple_connection_get_protocol_data(conn);
HFUJabberStreamData *js_data = g_new0(HFUJabberStreamData, 1);
......@@ -404,7 +409,7 @@ static PurplePluginInfo info = {
"Implements XEP-0363: HTTP File Upload",
"This plugin allows to upload a file to HTTP server",
"Dmitrii Kosenkov <dk-junker@ya.ru>",
"Dmitry Kosenkov <dk-junker@ya.ru>",
"https://github.com/Junker/purple-xmpp-http-upload",
plugin_load,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment