diff options
Diffstat (limited to 'protocols/Steam')
-rw-r--r-- | protocols/Steam/src/steam_events.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/protocols/Steam/src/steam_events.cpp b/protocols/Steam/src/steam_events.cpp index 3c8d758f54..c03fc3bb91 100644 --- a/protocols/Steam/src/steam_events.cpp +++ b/protocols/Steam/src/steam_events.cpp @@ -74,7 +74,16 @@ int CSteamProto::OnIdleChanged(WPARAM wParam, LPARAM lParam) // Respect user choice about (not) notifying idle to protocols if (privacy) + { + // Reset it to 0 if there is some time already + if (m_idleTS) + { + m_idleTS = 0; + delSetting("IdleTS"); + } + return 0; + } // We don't want to reset idle time when we're already in idle state if (idle && m_idleTS > 0) |