mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-24 18:38:15 +01:00
Schedule expiration of pinned messages
This commit is contained in:
@@ -109,7 +109,7 @@ describe('createExpiringEntityCleanupService', () => {
|
||||
},
|
||||
async cleanupExpiredEntities() {
|
||||
calls.push('cleanupExpiredEntities');
|
||||
const deletedIds: Array<string> = [];
|
||||
const deletedIds: Array<string | number> = [];
|
||||
const undeleted: Array<ExpiringEntity> = [];
|
||||
for (const entity of mockExpiringEntities) {
|
||||
if (entity.expiresAtMs <= clock.getCurrentTime()) {
|
||||
|
||||
Reference in New Issue
Block a user