aboutsummaryrefslogtreecommitdiffstats
path: root/core/features.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2022-02-04 14:10:34 +0000
committerMatthew Wild <mwild1@gmail.com>2022-02-04 14:10:34 +0000
commitfdfaff07e0a21e457e6c206c9e269f63efcac256 (patch)
tree3d8f0229a071d967242b3de886c1a236aedb0ae7 /core/features.lua
parent61216794b941840b0ae93011fdef63e47e27f906 (diff)
downloadprosody-fdfaff07e0a21e457e6c206c9e269f63efcac256.tar.gz
prosody-fdfaff07e0a21e457e6c206c9e269f63efcac256.zip
core.features: New module to track and expose the features supported by Prosody
A "feature" is a simple string, and it's expected that we will add to (and maybe remove from) this list over the course of time.
Diffstat (limited to 'core/features.lua')
-rw-r--r--core/features.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/features.lua b/core/features.lua
new file mode 100644
index 00000000..7248f881
--- /dev/null
+++ b/core/features.lua
@@ -0,0 +1,8 @@
+local set = require "util.set";
+
+return {
+ available = set.new{
+ -- mod_bookmarks bundled
+ "mod_bookmarks";
+ };
+};