core/features.lua
author Kim Alvefur <zash@zash.se>
Sun, 13 Nov 2022 18:16:59 +0100
branch0.12
changeset 12800 d7853bbc88ea
parent 12256 4bfe658415a0
child 12659 a5a0783e9241
child 13114 d5f322dd424b
permissions -rw-r--r--
mod_smacks: Disable resumption behavior on s2s Since resumption is not supported on s2s currently, there is no point in allocating resumption tokens. The code that removes entries from session_registry is only invoked for c2s sessions, thus enabling resumable smacks on s2s adds an entry that never goes away.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12256
4bfe658415a0 core.features: New module to track and expose the features supported by Prosody
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
     1
local set = require "util.set";
4bfe658415a0 core.features: New module to track and expose the features supported by Prosody
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
     2
4bfe658415a0 core.features: New module to track and expose the features supported by Prosody
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
     3
return {
4bfe658415a0 core.features: New module to track and expose the features supported by Prosody
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
     4
	available = set.new{
4bfe658415a0 core.features: New module to track and expose the features supported by Prosody
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
     5
		-- mod_bookmarks bundled
4bfe658415a0 core.features: New module to track and expose the features supported by Prosody
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
     6
		"mod_bookmarks";
4bfe658415a0 core.features: New module to track and expose the features supported by Prosody
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
     7
	};
4bfe658415a0 core.features: New module to track and expose the features supported by Prosody
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
     8
};