[polari] chatView: Fix updating status counts
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari] chatView: Fix updating status counts
- Date: Tue, 26 Nov 2019 18:58:09 +0000 (UTC)
commit 0f5f09a680b42ef366eb3537ed151b9814dbf691
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]