libpurple/protocols/novell/novell.c

changeset 34312
4461d5c1e61c
parent 34111
85b5efb9a873
child 34321
f60fcab02bd4
child 34894
df5ed3731148
equal deleted inserted replaced
34311:2eb147600041 34312:4461d5c1e61c
3461 if (user == NULL) 3461 if (user == NULL)
3462 return; 3462 return;
3463 3463
3464 rc = nm_send_keepalive(user, NULL, NULL); 3464 rc = nm_send_keepalive(user, NULL, NULL);
3465 _check_for_disconnect(user, rc); 3465 _check_for_disconnect(user, rc);
3466 }
3467
3468 static gsize
3469 novell_get_max_message_size(PurpleConnection *gc)
3470 {
3471 /* got from pidgin-otr */
3472 return 1792;
3466 } 3473 }
3467 3474
3468 static PurplePluginProtocolInfo prpl_info = { 3475 static PurplePluginProtocolInfo prpl_info = {
3469 sizeof(PurplePluginProtocolInfo), /* struct_size */ 3476 sizeof(PurplePluginProtocolInfo), /* struct_size */
3470 0, 3477 0,
3534 NULL, /* get_account_text_table */ 3541 NULL, /* get_account_text_table */
3535 NULL, /* initiate_media */ 3542 NULL, /* initiate_media */
3536 NULL, /* get_media_caps */ 3543 NULL, /* get_media_caps */
3537 NULL, /* get_moods */ 3544 NULL, /* get_moods */
3538 NULL, /* set_public_alias */ 3545 NULL, /* set_public_alias */
3539 NULL /* get_public_alias */ 3546 NULL, /* get_public_alias */
3547 novell_get_max_message_size /* get_max_message_size */
3540 }; 3548 };
3541 3549
3542 static PurplePluginInfo info = { 3550 static PurplePluginInfo info = {
3543 PURPLE_PLUGIN_MAGIC, 3551 PURPLE_PLUGIN_MAGIC,
3544 PURPLE_MAJOR_VERSION, 3552 PURPLE_MAJOR_VERSION,

mercurial