Skip to content

Commit

Permalink
Update appointment invites to be able to set a custom uid
Browse files Browse the repository at this point in the history
  • Loading branch information
whitslar committed Jun 15, 2017
1 parent 717b509 commit be23b4f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/zimbra/appointment/invite.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ class Appointment
class Invite
ATTRS = [
:appointment,
:id, :recurrence_id, :sequence_number,
:id, :recurrence_id, :sequence_number, :uid,

:start_date_time, :end_date_time, :date,
:name, :fragment, :description, :alarm, :alarm_zimbra_attributes, :alarm_attributes, :recurrence_rule, :recurrence_rule_zimbra_attributes, :recurrence_rule_attributes,
Expand Down Expand Up @@ -222,6 +222,7 @@ def create_xml(document)
comp.set_attr "name", name
comp.set_attr "transp", transparency_to_zimbra if transparency
comp.set_attr "d", date.to_i * 1000 if date
comp.set_attr "uid", uid if uid

if is_organizer
comp.set_attr "neverSent", never_sent ? 1 : 0
Expand Down
2 changes: 1 addition & 1 deletion lib/zimbra/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Zimbra
VERSION = "0.0.9"
VERSION = "0.0.10"
end

0 comments on commit be23b4f

Please sign in to comment.