From 1b49cc643c599bc4a9e5c97b288a7792b1cb4854 Mon Sep 17 00:00:00 2001 From: Julian Sparber Date: Thu, 25 Jan 2024 18:54:14 +0100 Subject: [PATCH] messageTray: Remove unused properties from Source Part-of: --- js/ui/components/telepathyClient.js | 1 - js/ui/messageTray.js | 4 ---- 2 files changed, 5 deletions(-) diff --git a/js/ui/components/telepathyClient.js b/js/ui/components/telepathyClient.js index a40879ff5..be55018cf 100644 --- a/js/ui/components/telepathyClient.js +++ b/js/ui/components/telepathyClient.js @@ -314,7 +314,6 @@ class ChatSource extends MessageTray.Source { super._init(contact.get_alias()); - this.isChat = true; this._pendingMessages = []; this._conn = conn; diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js index eba40c0bb..900f2ee71 100644 --- a/js/ui/messageTray.js +++ b/js/ui/messageTray.js @@ -645,12 +645,8 @@ export const Source = GObject.registerClass({ _init(title, iconName) { super._init({title}); - this.SOURCE_ICON_SIZE = 48; - this.iconName = iconName; - this.isChat = false; - this.notifications = []; this._policy = this._createPolicy();