diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-10-31 16:38:15 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-10-31 18:47:58 +0100 |
commit | 7824c772346e13f26eb878ce6a945fbb707e2247 (patch) | |
tree | 373ac7850c6eb87c1b4da7a62ec24330277d18f0 /src/Cache.h | |
parent | 488a93575a152b9a538b0037bb1152c88cd8bbb6 (diff) |
Cleanup headers a bit more
Diffstat (limited to 'src/Cache.h')
-rw-r--r-- | src/Cache.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Cache.h b/src/Cache.h index bed4938c..7c79881c 100644 --- a/src/Cache.h +++ b/src/Cache.h @@ -253,7 +253,10 @@ std::string restoreOlmAccount(); void -storeSecret(const std::string &name, const std::string &secret); +storeSecret(std::string_view name, const std::string &secret); std::optional<std::string> -secret(const std::string &name); +secret(std::string_view name); + +std::vector<ImagePackInfo> +getImagePacks(const std::string &room_id, std::optional<bool> stickers); } |