mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-21 13:38:19 -05:00
refac
This commit is contained in:
@@ -25,6 +25,7 @@ export const DEFAULT_PERMISSIONS = {
|
||||
public_skills: false,
|
||||
notes: false,
|
||||
public_notes: false,
|
||||
folders: false,
|
||||
public_chats: false,
|
||||
public_calendars: false
|
||||
},
|
||||
|
||||
@@ -475,7 +475,7 @@
|
||||
const type = event?.data?.type ?? null;
|
||||
const data = event?.data?.data ?? null;
|
||||
|
||||
// Calendar alerts are not chat-scoped — handle before chat_id checks
|
||||
// Calendar alerts are not chat-scoped, handle before chat_id checks
|
||||
if (type === 'calendar:alert' && data) {
|
||||
const timeStr =
|
||||
data.minutes_until <= 0
|
||||
|
||||
Reference in New Issue
Block a user