Software /
code /
prosody
File
core/features.lua @ 12504:c589874fe348
mod_smacks: Initialize queue before sending <enable>
Setting the .smacks field enables code paths that expects the queue to
be present. The queue is initialized in wrap_session_out(). With
opportunistic writes enabled this happens immediately on .sends2s(), so
the sending <enable> must happen before OR after these two lines, not in
the middle.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 15 May 2022 16:12:34 +0200 |
parent | 12252:4bfe658415a0 |
child | 12655:a5a0783e9241 |
child | 13110:d5f322dd424b |
line wrap: on
line source
local set = require "util.set"; return { available = set.new{ -- mod_bookmarks bundled "mod_bookmarks"; }; };