Skip to content

Commit

Permalink
fix(bookings): always decline events
Browse files Browse the repository at this point in the history
  • Loading branch information
stakach committed Apr 1, 2024
1 parent aabc06c commit bb6eec1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/place/bookings.cr
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ class Place::Bookings < PlaceOS::Driver
cmeeting = current
result = if cmeeting && cmeeting.event_start.to_unix == meeting_start_time
logger.debug { "deleting event #{cmeeting.title}, from #{@calendar_id}" }
calendar.delete_event(@calendar_id, cmeeting.id, notify: notify, comment: comment)
calendar.decline_event(@calendar_id, cmeeting.id, notify: notify, comment: comment)
else
nmeeting = upcoming
if nmeeting && nmeeting.event_start.to_unix == meeting_start_time
Expand Down

0 comments on commit bb6eec1

Please sign in to comment.