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 Remove CSPDirectives as own Type 2020-04-25 16:04:13 +02:00
migrations fixed usage of migrations 2020-04-25 16:04:20 +02:00
models Profile.emails is now a string array 🏷️ 2020-05-16 21:16:38 +02:00
ot Migrate editor-socketio-server.js to TypeScript 2020-04-25 16:04:17 +02:00
web Profile.emails is now a string array 🏷️ 2020-05-16 21:16:38 +02:00
workers dmpWorker.ts: Wrap process.send in a function to not lose this 🐛 2020-04-25 16:04:18 +02:00
app.ts Always sync session table to database 2020-04-25 16:04:20 +02:00
csp.ts Added Types for csp.ts 2020-04-25 16:04:09 +02:00
errors.ts created error.ts 2020-04-25 16:04:07 +02:00
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 Added flash function to Request interface 2020-04-25 16:04:14 +02:00
logger.ts removed 'use-strict' 2020-04-25 16:04:06 +02:00
realtime.ts Migrate editor-socketio-server.js to TypeScript 2020-04-25 16:04:17 +02:00
response.ts Fix error import 2020-04-25 16:04:07 +02:00
utils.ts fixed usage of migrations 2020-04-25 16:04:20 +02:00