telepathyClient: remove alias-change messages, to unbreak string freeze
https://bugzilla.gnome.org/show_bug.cgi?id=642793
This commit is contained in:
parent
e8eec2d357
commit
4d804c2a29
@ -490,16 +490,18 @@ Notification.prototype = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
appendAliasChange: function(oldAlias, newAlias) {
|
appendAliasChange: function(oldAlias, newAlias) {
|
||||||
oldAlias = GLib.markup_escape_text(oldAlias, -1);
|
// FIXME: uncomment this after 3.0 string freeze ends
|
||||||
newAlias = GLib.markup_escape_text(newAlias, -1);
|
|
||||||
|
|
||||||
/* Translators: this is the other person changing their old IM name to their new
|
// oldAlias = GLib.markup_escape_text(oldAlias, -1);
|
||||||
IM name. */
|
// newAlias = GLib.markup_escape_text(newAlias, -1);
|
||||||
let message = '<i>' + _("%s is now known as %s").format(oldAlias, newAlias) + '</i>';
|
|
||||||
let label = this.addBody(message, true);
|
// /* Translators: this is the other person changing their old IM name to their new
|
||||||
label.add_style_class_name('chat-meta-message');
|
// IM name. */
|
||||||
this._history.unshift({ actor: label, time: (Date.now() / 1000), realMessage: false });
|
// let message = '<i>' + _("%s is now known as %s").format(oldAlias, newAlias) + '</i>';
|
||||||
this.update(newAlias, null, { customContent: true });
|
// let label = this.addBody(message, true);
|
||||||
|
// label.add_style_class_name('chat-meta-message');
|
||||||
|
// this._history.unshift({ actor: label, time: (Date.now() / 1000), realMessage: false });
|
||||||
|
// this.update(newAlias, null, { customContent: true });
|
||||||
},
|
},
|
||||||
|
|
||||||
_onEntryActivated: function() {
|
_onEntryActivated: function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user