HomeSoftware Heritage

client: move subscription to a separate function