share active-sessions dir with 9p backend

Both backends now use ~/.local/share/ollie/sessions/active since
they are mutually exclusive.
This commit is contained in:
Levi Neely 2026-07-19 13:27:47 +02:00
parent 8d031fa525
commit 332a90d6af
1 changed files with 1 additions and 1 deletions

View File

@ -808,7 +808,7 @@ func (m *SessionManager) sendNotification(title, body string) {
// activeSessionsDir returns the directory for persisting active sessions across restarts. // activeSessionsDir returns the directory for persisting active sessions across restarts.
func activeSessionsDir() string { func activeSessionsDir() string {
return filepath.Join(paths.DataDir(), "active-sessions") return filepath.Join(paths.DataDir(), "sessions", "active")
} }
// persistSession saves a single session to the active-sessions directory. // persistSession saves a single session to the active-sessions directory.