mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
encode key with proper names
This commit is contained in:
parent
8e5d5db32b
commit
f31efe3e87
@ -14,8 +14,8 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function encodeKey(roomId, senderKey, sessionId) {
|
function encodeKey(roomId, sessionId, messageIndex) {
|
||||||
return `${roomId}|${senderKey}|${sessionId}`;
|
return `${roomId}|${sessionId}|${messageIndex}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
export class GroupSessionDecryptionStore {
|
export class GroupSessionDecryptionStore {
|
||||||
|
Loading…
Reference in New Issue
Block a user