File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10447,7 +10447,6 @@ typedef struct
1044710447{
1044810448 PurplePluginProtocolInfo parent ;
1044910449
10450- GHashTable * (* get_account_text_table )(PurpleAccount * account );
1045110450 #if !PURPLE_VERSION_CHECK (2 , 6 , 0 )
1045210451 gboolean (* initiate_media )(PurpleAccount * account , const char * who , PurpleMediaSessionType type );
1045310452 PurpleMediaCaps (* get_media_caps )(PurpleAccount * account , const char * who );
@@ -10489,12 +10488,7 @@ plugin_init(PurplePlugin *plugin)
1048910488 }
1049010489
1049110490 info -> extra_info = prpl_info ;
10492- #if PURPLE_MINOR_VERSION >= 5
1049310491 prpl_info -> struct_size = sizeof (PurplePluginProtocolInfoExt );
10494- #endif
10495- #if PURPLE_MINOR_VERSION >= 8
10496- /* prpl_info->add_buddy_with_invite = discord_add_buddy_with_invite; */
10497- #endif
1049810492
1049910493 prpl_info -> options = OPT_PROTO_CHAT_TOPIC | OPT_PROTO_SLASH_COMMANDS_NATIVE | OPT_PROTO_UNIQUE_CHATNAME | OPT_PROTO_IM_IMAGE | OPT_PROTO_PASSWORD_OPTIONAL ;
1050010494 prpl_info -> protocol_options = discord_add_account_options (prpl_info -> protocol_options );
@@ -10562,7 +10556,7 @@ static PurplePluginInfo info = {
1056210556 /* PURPLE_MAJOR_VERSION,
1056310557 PURPLE_MINOR_VERSION,
1056410558 */
10565- 2 , 1 ,
10559+ 2 , 5 ,
1056610560 PURPLE_PLUGIN_PROTOCOL , /* type */
1056710561 NULL , /* ui_requirement */
1056810562 0 , /* flags */
You can’t perform that action at this time.
0 commit comments