mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
[discord] disable confirmation dialog because in-game widgets will never happen
see: https://github.com/libretro/RetroArch/issues/4572
This commit is contained in:
parent
f909f98e1a
commit
69d020e16d
@ -146,13 +146,17 @@ static void handle_discord_spectate(const char* secret)
|
|||||||
|
|
||||||
static void handle_discord_join_response(void *ignore, const char *line)
|
static void handle_discord_join_response(void *ignore, const char *line)
|
||||||
{
|
{
|
||||||
|
/* To-Do: needs in-game widgets
|
||||||
if (strstr(line, "yes"))
|
if (strstr(line, "yes"))
|
||||||
Discord_Respond(user_id, DISCORD_REPLY_YES);
|
Discord_Respond(user_id, DISCORD_REPLY_YES);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef HAVE_MENU
|
#ifdef HAVE_MENU
|
||||||
menu_input_dialog_end();
|
menu_input_dialog_end();
|
||||||
rarch_menu_running_finished();
|
rarch_menu_running_finished();
|
||||||
#endif
|
#endif
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
static void handle_discord_join_request(const DiscordUser* request)
|
static void handle_discord_join_request(const DiscordUser* request)
|
||||||
@ -180,10 +184,12 @@ static void handle_discord_join_request(const DiscordUser* request)
|
|||||||
line.label_setting = "no_setting";
|
line.label_setting = "no_setting";
|
||||||
line.cb = handle_discord_join_response;
|
line.cb = handle_discord_join_response;
|
||||||
|
|
||||||
/* To-Do: bespoke dialog, should show while in-game and have a hotkey to accept */
|
/* To-Do: needs in-game widgets
|
||||||
/* To-Do: show avatar of the user connecting */
|
To-Do: bespoke dialog, should show while in-game and have a hotkey to accept
|
||||||
|
To-Do: show avatar of the user connecting
|
||||||
if (!menu_input_dialog_start(&line))
|
if (!menu_input_dialog_start(&line))
|
||||||
return;
|
return;
|
||||||
|
*/
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user