aboutsummaryrefslogtreecommitdiffstats
path: root/src/messaging/maildirStore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/messaging/maildirStore.cpp')
-rw-r--r--src/messaging/maildirStore.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/messaging/maildirStore.cpp b/src/messaging/maildirStore.cpp
index e4df0e68..60cac982 100644
--- a/src/messaging/maildirStore.cpp
+++ b/src/messaging/maildirStore.cpp
@@ -75,6 +75,13 @@ folder* maildirStore::getFolder(const folder::path& path)
}
+const bool maildirStore::isValidFolderName(const folder::path::component& name)
+{
+ return (platformDependant::getHandler()->
+ getFileSystemFactory()->isValidPathComponent(name));
+}
+
+
void maildirStore::connect()
{
if (isConnected())