changeset 5675:17ea26cf7259

mod_storage_s3: Use '@' as placeholder for empty (host) store slots Used when the server stores things for itself.
author Kim Alvefur <zash@zash.se>
date Sat, 14 Oct 2023 22:49:57 +0200 (14 months ago)
parents 51d0311747fa
children 799f69a5921a
files mod_storage_s3/mod_storage_s3.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_storage_s3/mod_storage_s3.lua	Sat Oct 14 22:49:12 2023 +0200
+++ b/mod_storage_s3/mod_storage_s3.lua	Sat Oct 14 22:49:57 2023 +0200
@@ -139,7 +139,7 @@
 		bucket;
 		jid.escape(module.host);
 		jid.escape(self.store);
-		jid.escape(key or "");
+		jid.escape(key or "@");
 	})
 end