refac
This commit is contained in:
1 parent
5019af79a0
commit
38920c0ed1
2 files changed
+2
-1
No files matched your search
@@ -25,6 +25,7 @@ export const DEFAULT_PERMISSIONS = {
|
|||||||
public_skills: false,
|
public_skills: false,
|
||||||
notes: false,
|
notes: false,
|
||||||
public_notes: false,
|
public_notes: false,
|
||||||
|
folders: false,
|
||||||
public_chats: false,
|
public_chats: false,
|
||||||
public_calendars: false
|
public_calendars: false
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -475,7 +475,7 @@
|
|||||||
const type = event?.data?.type ?? null;
|
const type = event?.data?.type ?? null;
|
||||||
const data = event?.data?.data ?? 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) {
|
if (type === 'calendar:alert' && data) {
|
||||||
const timeStr =
|
const timeStr =
|
||||||
data.minutes_until <= 0
|
data.minutes_until <= 0
|
||||||
|
|||||||
Reference in new issue
Block a user