mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
log encrypted event count in session sync write
This commit is contained in:
parent
499efb5ce0
commit
dea11845f5
@ -36,6 +36,7 @@ export class DeviceMessageHandler {
|
||||
*/
|
||||
async writeSync(toDeviceEvents, txn, log) {
|
||||
const encryptedEvents = toDeviceEvents.filter(e => e.type === "m.room.encrypted");
|
||||
log.set("encryptedCount", encryptedEvents.length);
|
||||
if (!encryptedEvents.length) {
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user