# HG changeset patch # User Kim Alvefur # Date 1470244921 -7200 # Node ID 4a3a3098d9bb2a5573955e41c0ea8cc538f347da # Parent ba782a093b144312d02c8f4d9cb88a07f493692f doc/session: As far as I remember, sessions have had a close method, not disconnect diff -r ba782a093b14 -r 4a3a3098d9bb doc/session.txt --- a/doc/session.txt Fri Jul 29 14:58:42 2016 +0100 +++ b/doc/session.txt Wed Aug 03 19:22:01 2016 +0200 @@ -20,7 +20,7 @@ -- methods -- send(x) -- converts x to a string, and writes it to the connection - disconnect(x) -- Disconnect the user and clean up the session, best call sessionmanager.destroy_session() instead of this in most cases + close(x) -- Disconnect the user and clean up the session, best call sessionmanager.destroy_session() instead of this in most cases } if session.full_jid (also session.roster and session.resource) then this is a "connected resource"