-
Notifications
You must be signed in to change notification settings - Fork 333
WPB-21964: Add Wire Meetings endpoints #4872
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
ba6264c to
425ab2d
Compare
| conversation_id UUID NOT NULL, | ||
| conversation_domain TEXT NOT NULL, | ||
| invited_emails TEXT[] DEFAULT '{}', | ||
| trial BOOLEAN DEFAULT FALSE, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@akshaymankar should I store this?
|
|
||
| -- Determine trial status | ||
| -- TODO: Check if user is a paying customer via Feature | ||
| let trial = False |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you know which feature flag should be checked?
| then pure False | ||
| else do | ||
| -- Add invited email | ||
| Store.addInvitedEmail meetingId email |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@akshaymankar Can I send e-mails in an upcoming PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@akshaymankar do we have the template?
| -- Validate that endDate > startDate | ||
| when (newMeeting.endDate <= newMeeting.startDate) $ | ||
| throwS @'InvalidOperation | ||
| Meetings.createMeeting lUser newMeeting |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@akshaymankar Should we send new conversations notifications?
akshaymankar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are more questions about this in the RFC. Let's wait before implementation.
| startDate :: UTCTime, | ||
| endDate :: UTCTime, | ||
| schedule :: Maybe Text, | ||
| conversationId :: Qualified ConvId, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might be best to keep this not qualified as the meeting id is qualified and we probably don't want to deal with meetings whose convs are remote.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should change the RFC?
| creator :: UserId, | ||
| startDate :: UTCTime, | ||
| endDate :: UTCTime, | ||
| schedule :: Maybe Text, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO the cron format is a mistake here, there is some discussion about it in the RFC. We should wait for that to resolve.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed!
63d6831 to
0c273b7
Compare
https://wearezeta.atlassian.net/browse/WPB-21964
Checklist
changelog.d