aboutsummaryrefslogtreecommitdiff
path: root/include/Path.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-11-12 19:05:13 +0100
committerdec05eba <dec05eba@protonmail.com>2022-11-12 19:05:13 +0100
commit01f23292bf2451a0c7b9ada88c6314dcb09509b1 (patch)
tree2423c0abecd39f314f3475b2288d68a702fd6344 /include/Path.hpp
parent224a5f3b2ed2141a94940fe73fc8ccb4b2f8d962 (diff)
Matrix: add option to silence invites without declining them or hiding them (ignore)
Diffstat (limited to 'include/Path.hpp')
-rw-r--r--include/Path.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/Path.hpp b/include/Path.hpp
index 3d849e2..c9047be 100644
--- a/include/Path.hpp
+++ b/include/Path.hpp
@@ -22,6 +22,11 @@ namespace QuickMedia {
return *this;
}
+ Path& append(const char *str) {
+ data += str;
+ return *this;
+ }
+
// Includes extension
const char* filename() const {
size_t index = data.rfind('/');