Merge branch 'delete_uploaded_files_feature' into master

This commit is contained in:
tyuXX 2026-10-31 16:55:48 +03:00
commit 12bb2f9843
16 changed files with 587 additions and 8 deletions

View file

@ -444,6 +444,15 @@ public class ClientState
}
}
public void RemoveFile(string fileId)
{
lock (_lock)
{
Files.RemoveAll(f => f.Id == fileId);
NeedsRedraw = true;
}
}
public void SetInboxSync(List<InboxItem> items, int unreadCount, InboxPreferences? preferences = null)
{
lock (_lock)