[polari/gnome-3-34] chatView: Fix updating status counts
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari/gnome-3-34] chatView: Fix updating status counts
- Date: Tue, 26 Nov 2019 18:59:44 +0000 (UTC)
commit bfc3edd3df0e4525fbf6ec2e4b815321924dced4
Author: Florian Müllner <fmuellner gnome org>
Date: Tue Nov 26 19:37:39 2019 +0100
chatView: Fix updating status counts
Commit a191adfb456 accidentally changed the check for a valid type
('left' or 'joined') into a check for 'type', whoops.
https://gitlab.gnome.org/GNOME/polari/issues/115
src/chatView.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/chatView.js b/src/chatView.js
index 47b22fb..67aae55 100644
--- a/src/chatView.js
+++ b/src/chatView.js
@@ -1127,7 +1127,7 @@ var ChatView = GObject.registerClass({
let tags = [this._lookupTag('status')];
let groupTag = null;
if (grouped) {
- if (this._statusCount.type !== undefined) {
+ if (this._statusCount[type] !== undefined) {
this._statusCount[type]++;
this._statusCount.total++;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]