Software /
code /
verse
Diff
plugins/session.lua @ 380:0891b4e27766
Discard trailing whitespace
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 01 May 2015 23:27:29 +0200 |
parent | 250:a5ac643a7fd6 |
child | 395:e86144a4eaa1 |
line wrap: on
line diff
--- a/plugins/session.lua Fri May 01 21:46:24 2015 +0200 +++ b/plugins/session.lua Fri May 01 23:27:29 2015 +0200 @@ -3,7 +3,7 @@ local xmlns_session = "urn:ietf:params:xml:ns:xmpp-session"; function verse.plugins.session(stream) - + local function handle_features(features) local session_feature = features:get_child("session", xmlns_session); if session_feature and not session_feature:get_child("optional") then @@ -25,6 +25,6 @@ end end stream:hook("stream-features", handle_features); - + return true; end