Mark Haines
|
d02c205910
|
Rename the "content" variable to avoid shadowing
|
2016-09-15 11:46:49 +01:00 |
|
Mark Haines
|
72a4b92022
|
Send a 'm.new_device' when we get a message for an unknown group session
This should reduce the risk of a device getting permenantly stuck unable
to receive encrypted group messages.
|
2016-09-14 19:16:24 +01:00 |
|
Mark Haines
|
f0274f3f26
|
Wrap the crypto event handlers in try/catch blocks
|
2016-09-12 11:44:31 +01:00 |
|
Richard van der Hoff
|
946539e32d
|
s/Displayname/DisplayName/
|
2016-09-09 11:32:57 +01:00 |
|
Richard van der Hoff
|
1da633e28a
|
Handle new device announcements
When we see a new device, download its keys, and then add it to the list of
things waiting for a keyshare.
|
2016-09-08 14:35:13 +01:00 |
|
Richard van der Hoff
|
879da47f0e
|
Send an "oh hai" message to other e2e users
When we first complete an initial sync on a new device, send out an
m.new_device message for each user we share an e2e room with
|
2016-09-08 14:34:08 +01:00 |
|
Richard van der Hoff
|
cacafb461d
|
Share the current ratchet with new members
When a new member joins the room, we don't need to reset the megolm session;
instead we can just share the current state with the new user.
|
2016-09-08 14:20:54 +01:00 |
|
Richard van der Hoff
|
71c33420f6
|
Move crypto bits into a subdirectory
It was getting a bit sprawly; this should help keep things together.
|
2016-09-08 09:50:31 +01:00 |
|