mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-24 18:38:15 +01:00
Use window.log in browser context, turn on console eslint rule
This commit is contained in:
@@ -85,7 +85,7 @@ OutgoingMessage.prototype = {
|
||||
address
|
||||
);
|
||||
if (device.registrationId === 0) {
|
||||
console.log('device registrationId 0!');
|
||||
window.log.info('device registrationId 0!');
|
||||
}
|
||||
return builder.processPreKey(device).catch(
|
||||
function(error) {
|
||||
@@ -267,7 +267,7 @@ OutgoingMessage.prototype = {
|
||||
} else if (error.message === 'Identity key changed') {
|
||||
error.timestamp = this.timestamp;
|
||||
error.originalMessage = this.message.toArrayBuffer();
|
||||
console.log(
|
||||
window.log.error(
|
||||
'Got "key changed" error from encrypt - no identityKey for application layer',
|
||||
number,
|
||||
deviceIds
|
||||
|
||||
Reference in New Issue
Block a user