Signed-off-by: Erik Boasson <eb@ilities.com>
This also removes the code duplication for the handling delivery from local vs remote writers. (And it adds a test.) Signed-off-by: Erik Boasson <eb@ilities.com>