Skip to content
This repository was archived by the owner on Sep 11, 2023. It is now read-only.

Commit 86a8742

Browse files
Now Discord RPC will show active file when re-activeted
1 parent 5497533 commit 86a8742

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

UI/Windows/OptionsWindow.xaml.cs

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -425,17 +425,7 @@ private void DiscordPresence_Changed(object sender, RoutedEventArgs e)
425425
// Init Discord RPC
426426
Program.discordClient.Initialize();
427427

428-
429-
// Set default presence
430-
Program.discordClient.SetPresence(new RichPresence
431-
{
432-
State = "Idle",
433-
Timestamps = Program.discordTime,
434-
Assets = new Assets
435-
{
436-
LargeImageKey = "immagine"
437-
}
438-
});
428+
Program.MainWindow.UpdateWindowTitle();
439429
}
440430
else if (!val && Program.discordClient.IsInitialized)
441431
{

0 commit comments

Comments
 (0)