hedgedoc/lib
David Mehren 3262315248
Fix generateAvatarURL
Previously, we checked for `typeof email !== 'string'`. This code got turned into `email.length === 0`, which changed the behaviour of the method.
Because TypeScript makes sure that `email` is always a string, we can get rid of the check altogether.

Signed-off-by: David Mehren <dmehren1@gmail.com>
2020-05-16 21:16:38 +02:00
..
config
migrations
models Profile.emails is now a string array 🏷️ 2020-05-16 21:16:38 +02:00
ot
web Profile.emails is now a string array 🏷️ 2020-05-16 21:16:38 +02:00
workers
app.ts Always sync session table to database 2020-04-25 16:04:20 +02:00
csp.ts
errors.ts
history.ts setHistory: Do not parse history into an array again, historyPost already made sure we have an array 2020-05-09 14:35:06 +02:00
letter-avatars.ts Fix generateAvatarURL 2020-05-16 21:16:38 +02:00
library-ext.d.ts
logger.ts
realtime.ts
response.ts
utils.ts