This repository was archived by the owner on Aug 5, 2021. It is now read-only.
Commit cee3b82
committed
Remove removePreviousSessions
This reverts commit b45ace4 and parts of 2657f00.
The purpose of the deletes was so that a session with a different identity key
couldn't get "resurrected" after an identity switch. But if the validate/save
action is happening for every encrypt/decrypt, then it shouldn't be possible
for an old identity to get invisibly resurrected.
Furthermore, at the application level we would clear sessions for all devices
on the affected number, but libsignal-protocol operates on a per-device basis,
so it can only perform what amounts to an incomplete removal.1 parent e68e17c commit cee3b82
File tree
4 files changed
+8
-62
lines changed- dist
- src
4 files changed
+8
-62
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35762 | 35762 | | |
35763 | 35763 | | |
35764 | 35764 | | |
35765 | | - | |
35766 | | - | |
35767 | | - | |
35768 | | - | |
35769 | | - | |
35770 | | - | |
35771 | | - | |
35772 | | - | |
35773 | | - | |
35774 | | - | |
35775 | | - | |
35776 | 35765 | | |
35777 | 35766 | | |
35778 | 35767 | | |
| |||
35868 | 35857 | | |
35869 | 35858 | | |
35870 | 35859 | | |
35871 | | - | |
35872 | | - | |
35873 | | - | |
35874 | | - | |
35875 | | - | |
| 35860 | + | |
35876 | 35861 | | |
35877 | 35862 | | |
35878 | 35863 | | |
| |||
35929 | 35914 | | |
35930 | 35915 | | |
35931 | 35916 | | |
35932 | | - | |
35933 | | - | |
35934 | | - | |
35935 | | - | |
35936 | | - | |
| 35917 | + | |
35937 | 35918 | | |
35938 | 35919 | | |
35939 | 35920 | | |
| |||
36136 | 36117 | | |
36137 | 36118 | | |
36138 | 36119 | | |
36139 | | - | |
36140 | | - | |
36141 | | - | |
36142 | | - | |
36143 | | - | |
| 36120 | + | |
36144 | 36121 | | |
36145 | 36122 | | |
36146 | 36123 | | |
| |||
36222 | 36199 | | |
36223 | 36200 | | |
36224 | 36201 | | |
36225 | | - | |
36226 | | - | |
36227 | | - | |
36228 | | - | |
36229 | | - | |
| 36202 | + | |
36230 | 36203 | | |
36231 | 36204 | | |
36232 | 36205 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
| 54 | + | |
59 | 55 | | |
60 | 56 | | |
61 | 57 | | |
| |||
112 | 108 | | |
113 | 109 | | |
114 | 110 | | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
| 111 | + | |
120 | 112 | | |
121 | 113 | | |
122 | 114 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
| 86 | + | |
91 | 87 | | |
92 | 88 | | |
93 | 89 | | |
| |||
169 | 165 | | |
170 | 166 | | |
171 | 167 | | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
| 168 | + | |
177 | 169 | | |
178 | 170 | | |
179 | 171 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | 266 | | |
278 | 267 | | |
279 | 268 | | |
| |||
0 commit comments