Bug 957918 - Port chat/ changes from Instantbird to comm-central - 7 - Bug 955569 - JS-Yahoo: "Would you like to be my chat buddy" sent on accepting buddy auth request, r=clokep.
This commit is contained in:
Родитель
14d31165dc
Коммит
67ddf24a7a
|
@ -12,7 +12,6 @@ login.error.unknown=Unknown Error %S
|
|||
network.error.http=HTTP connection error.
|
||||
|
||||
conference.invite.message=Join my conference.
|
||||
buddy.invite.message=Would you be my chat buddy?
|
||||
|
||||
# Some options are commented out because they aren't used. We do the same thing
|
||||
# to their description strings.
|
||||
|
|
|
@ -168,7 +168,9 @@ YahooSession.prototype = {
|
|||
|
||||
addBuddyToServer: function(aBuddy) {
|
||||
let packet = new YahooPacket(kPacketType.AddBuddy, 0, this.sessionId);
|
||||
packet.addValue(14, _("buddy.invite.message"));
|
||||
// We leave this invite message empty. Any message placed here will
|
||||
// annoyingly be sent to the invitee when they accept the invite.
|
||||
packet.addValue(14, "");
|
||||
packet.addValue(65, aBuddy.tag.name);
|
||||
packet.addValue(97, "1"); // UTF-8 encoding.
|
||||
packet.addValue(1, this._account.cleanUsername);
|
||||
|
|
Загрузка…
Ссылка в новой задаче