From 45a3e643a801a3eff6c4af64984f56b8434d8307 Mon Sep 17 00:00:00 2001 From: amanzur Date: Fri, 10 Jun 2016 15:27:28 +0100 Subject: [PATCH] online users count issue-656 (#657) * online users count issue-656 * change log entry added for issue 656 --- docs/CHANGES.md | 3 ++- src/converse-controlbox.js | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/CHANGES.md b/docs/CHANGES.md index 1b1e15385..eac819a48 100755 --- a/docs/CHANGES.md +++ b/docs/CHANGES.md @@ -1,7 +1,6 @@ # Changelog ## 1.0.3 (Unreleased) - - Bugfix. Login form doesn't render after logging out, when `auto_reconnect = false` [jcbrand] - Also indicate new day for the first day's messages. [jcbrand] - Chat bot messages don't appear when they have the same ids as their commands. [jcbrand] @@ -13,6 +12,8 @@ - New API method `converse.rooms.close()` - #553 Add processing hints to OTR messages [jcbrand] - #650 Don't ignore incoming messages with same JID as current user (might be MAM archived) [jcbrand] +- #656 online users count in minimized chat window on initialization corrected + ## 1.0.2 (2016-05-24) diff --git a/src/converse-controlbox.js b/src/converse-controlbox.js index 44b8015c5..f074871b6 100644 --- a/src/converse-controlbox.js +++ b/src/converse-controlbox.js @@ -668,6 +668,7 @@ initialize: function () { this.render(); + this.updateOnlineCount(); converse.on('initialized', function () { converse.roster.on("add", this.updateOnlineCount, this); converse.roster.on('change', this.updateOnlineCount, this);