diff options
Diffstat (limited to 'src/messaging/IMAPStore.cpp')
-rw-r--r-- | src/messaging/IMAPStore.cpp | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/messaging/IMAPStore.cpp b/src/messaging/IMAPStore.cpp index 5e208db4..0025e55d 100644 --- a/src/messaging/IMAPStore.cpp +++ b/src/messaging/IMAPStore.cpp @@ -125,7 +125,7 @@ folder* IMAPStore::getFolder(const folder::path& path) } -const bool IMAPStore::isValidFolderName(const folder::path::component& /* name */) +const bool IMAPStore::isValidFolderName(const folder::path::component& /* name */) const { return true; } @@ -219,6 +219,19 @@ void IMAPStore::unregisterFolder(IMAPFolder* folder) } +const int IMAPStore::getCapabilities() const +{ + return (CAPABILITY_CREATE_FOLDER | + CAPABILITY_RENAME_FOLDER | + CAPABILITY_ADD_MESSAGE | + CAPABILITY_COPY_MESSAGE | + CAPABILITY_DELETE_MESSAGE | + CAPABILITY_PARTIAL_FETCH | + CAPABILITY_MESSAGE_FLAGS | + CAPABILITY_EXTRACT_PART); +} + + // Service infos |