mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-13 22:52:22 +00:00
Fix bug where deleted events stay listed
This commit is contained in:
@@ -145,7 +145,7 @@ impl CalendarStore for SqliteCalendarStore {
|
||||
async fn get_events(&self, principal: &str, cid: &str) -> Result<Vec<Event>, Error> {
|
||||
sqlx::query_as!(
|
||||
EventRow,
|
||||
"SELECT uid, ics FROM events WHERE principal = ? AND cid = ?",
|
||||
"SELECT uid, ics FROM events WHERE principal = ? AND cid = ? AND deleted_at IS NULL",
|
||||
principal,
|
||||
cid
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user