diff options
-rw-r--r-- | util/xmppstream.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/util/xmppstream.lua b/util/xmppstream.lua index 57e1def3..82a9820f 100644 --- a/util/xmppstream.lua +++ b/util/xmppstream.lua @@ -293,6 +293,9 @@ local function new(session, stream_callbacks, stanza_size_limit) return ok, err; end, set_session = meta.set_session; + set_stanza_size_limit = function (_, new_stanza_size_limit) + stanza_size_limit = new_stanza_size_limit; + end; }; end |