forked from mystiq/hydrogen-web
encode key with proper names
This commit is contained in:
parent
8e5d5db32b
commit
f31efe3e87
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue