You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-29 16:43:09 +03:00
remove leftover debugging messages
This commit is contained in:
@@ -1475,7 +1475,6 @@ MegolmDecryption.prototype._retryDecryption = async function(senderKey, sessionI
|
|||||||
|
|
||||||
MegolmDecryption.prototype.retryDecryptionFromSender = async function(senderKey) {
|
MegolmDecryption.prototype.retryDecryptionFromSender = async function(senderKey) {
|
||||||
const senderPendingEvents = this._pendingEvents[senderKey];
|
const senderPendingEvents = this._pendingEvents[senderKey];
|
||||||
logger.warn(senderPendingEvents);
|
|
||||||
if (!senderPendingEvents) {
|
if (!senderPendingEvents) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@@ -1485,7 +1484,6 @@ MegolmDecryption.prototype.retryDecryptionFromSender = async function(senderKey)
|
|||||||
await Promise.all([...senderPendingEvents].map(async ([_sessionId, pending]) => {
|
await Promise.all([...senderPendingEvents].map(async ([_sessionId, pending]) => {
|
||||||
await Promise.all([...pending].map(async (ev) => {
|
await Promise.all([...pending].map(async (ev) => {
|
||||||
try {
|
try {
|
||||||
logger.warn(ev.getId());
|
|
||||||
await ev.attemptDecryption(this._crypto);
|
await ev.attemptDecryption(this._crypto);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
// don't die if something goes wrong
|
// don't die if something goes wrong
|
||||||
|
|||||||
Reference in New Issue
Block a user