From b2ae945cf275575f1edd7c879557ff56db839144 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Tue, 17 Mar 2015 02:25:15 +0100 Subject: [PATCH] telepathyClient: Remove some dead code This has been unused ever since we stopped logging presence changes in commit 4448b65a18a05d ... --- js/ui/components/telepathyClient.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/js/ui/components/telepathyClient.js b/js/ui/components/telepathyClient.js index 44048d5b8..8e9b6ce5b 100644 --- a/js/ui/components/telepathyClient.js +++ b/js/ui/components/telepathyClient.js @@ -546,14 +546,8 @@ const ChatSource = new Lang.Class({ }, _presenceChanged: function (contact, presence, status, message) { - let msg, title; - - title = GLib.markup_escape_text(this.title, -1); - + let title = GLib.markup_escape_text(this.title, -1); this._notification.update(this._notification.title, null, { customContent: true, secondaryGIcon: this.getSecondaryIcon() }); - - if (message) - msg += ' (' + GLib.markup_escape_text(message, -1) + ')'; }, _pendingRemoved: function(channel, message) {