diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-10-26 09:48:25 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-10-29 04:21:15 +0100 |
commit | 620123fbd6c18dc48a25cc735565f6d8d85f8639 (patch) | |
tree | 1563c8d2867f80f7c5cf00c15c8a1b6612de9f67 /include/Path.hpp | |
parent | 0d432776c13f7b7bfd94d8ea2a7a41be33f21c8d (diff) |
Matrix: add room tags
Fix pinned events that are added after starting QuickMedia
(before this change it adds all elements again to the list).
Add /me command.
Other fixes...
Diffstat (limited to 'include/Path.hpp')
-rw-r--r-- | include/Path.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/Path.hpp b/include/Path.hpp index d26f605..46c8dee 100644 --- a/include/Path.hpp +++ b/include/Path.hpp @@ -24,7 +24,7 @@ namespace QuickMedia { const char* filename() const { size_t index = data.rfind('/'); if(index == std::string::npos) - return "/"; + return data.c_str(); return data.c_str() + index + 1; } |