Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Alejandro Casanovas committed Mar 7, 2019
1 parent 38fcc3f commit 6949960
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions O365/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,10 @@ def __init__(self, *, parent=None, con=None, **kwargs):

# if this message is an EventMessage:
meeting_mt = cloud_data.get(cc('meetingMessageType'), 'none')

# hack to avoid typo in EventMessage between Api v1.0 and beta:
meeting_mt = meeting_mt.replace('Tenatively', 'Tentatively')

self.__meeting_message_type = MeetingMessageType.from_value(meeting_mt) if meeting_mt != 'none' else None

# a message is a draft by default
Expand Down

0 comments on commit 6949960

Please sign in to comment.