Commit 4e8c1d1
google-calendar: Use a bot to send direct messages to the bot owner.
The reminders were previously being sent to the DMs of the current user,
requiring the zuliprc of the user.
But, we can create a generic bot for the Google Calendar integration,
and use its zuliprc to send direct messages to its owner. This tightens
security.
The support for sending DMs to the same user is retained, for cases
where a bot is not used.1 parent eff3809 commit 4e8c1d1
1 file changed
+9
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
36 | | - | |
37 | | - | |
38 | | - | |
| 37 | + | |
39 | 38 | | |
40 | 39 | | |
41 | 40 | | |
| |||
162 | 161 | | |
163 | 162 | | |
164 | 163 | | |
| 164 | + | |
165 | 165 | | |
166 | | - | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
167 | 171 | | |
168 | 172 | | |
169 | 173 | | |
| |||
0 commit comments