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) {