From a687e87e015e1a4f527089a4bfd2206cfe18a47b Mon Sep 17 00:00:00 2001 From: JC Brand Date: Tue, 16 Feb 2016 07:50:52 +0000 Subject: [PATCH] Remove deprecated API and update changelog. --- docs/CHANGES.md | 6 ++++-- src/converse-core.js | 6 ------ 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/docs/CHANGES.md b/docs/CHANGES.md index a233834f2..c6464b879 100755 --- a/docs/CHANGES.md +++ b/docs/CHANGES.md @@ -7,10 +7,12 @@ the build. [jcbrand] - Don't play sound notifications for OTR messages which are setting up an encrypted session. [jcbrand] -- Save scroll position on minimize and restore it on maximize [rlanvin] -- #261 show_controlbox_by_default config not working [diditopher] +- Removed the `account.logout` API, instead use `user.logout`. [jcbrand] +- #261 `show_controlbox_by_default` config not working [diditopher] - #566 Do not steal the focus when the chatbox opens automatically [rlanvin] - #573 xgettext build error: `'javascript' unknown` [jcbrand] +- #587 Fix issue when logging out with `auto_logout=true` [davec82] +- #589 Save scroll position on minimize and restore it on maximize [rlanvin] ## 0.10.1 (2016-02-06) diff --git a/src/converse-core.js b/src/converse-core.js index 7e5b9abfe..0bc60f8f2 100755 --- a/src/converse-core.js +++ b/src/converse-core.js @@ -5033,12 +5033,6 @@ 'disconnect': function () { converse.connection.disconnect(); }, - 'account': { - // XXX: Deprecated, will be removed with next non-minor release - 'logout': function () { - converse.logOut(); - } - }, 'user': { 'logout': function () { converse.logOut();