1
0
mirror of https://github.com/vector-im/hydrogen-web.git synced 2025-01-11 20:47:18 +01:00

encode key with proper names

This commit is contained in:
Bruno Windels 2020-09-04 16:40:39 +02:00
parent 8e5d5db32b
commit f31efe3e87

@ -14,8 +14,8 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
function encodeKey(roomId, senderKey, sessionId) {
return `${roomId}|${senderKey}|${sessionId}`;
function encodeKey(roomId, sessionId, messageIndex) {
return `${roomId}|${sessionId}|${messageIndex}`;
}
export class GroupSessionDecryptionStore {