"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "libtextsecure/protobufs.js" between
Signal-Desktop-1.35.2.tar.gz and Signal-Desktop-1.36.1.tar.gz

About: Signal-Desktop is a cross-platform encrypted messaging service (also available for mobile devices).

protobufs.js  (Signal-Desktop-1.35.2):protobufs.js  (Signal-Desktop-1.36.1)
skipping to change at line 21 skipping to change at line 21
(error, result) => { (error, result) => {
if (error) { if (error) {
const text = `Error loading protos from ${filename} (root: ${ const text = `Error loading protos from ${filename} (root: ${
window.PROTO_ROOT window.PROTO_ROOT
}) ${error && error.stack ? error.stack : error}`; }) ${error && error.stack ? error.stack : error}`;
window.log.error(text); window.log.error(text);
throw error; throw error;
} }
const protos = result.build('signalservice'); const protos = result.build('signalservice');
if (!protos) { if (!protos) {
const text = `Error loading protos from ${filename} (root: ${window.PR OTO_ROOT})`; const text = `Error loading protos from ${filename} - no exported type s! (root: ${window.PROTO_ROOT})`;
window.log.error(text); window.log.error(text);
throw new Error(text); throw new Error(text);
} }
// eslint-disable-next-line no-restricted-syntax, guard-for-in // eslint-disable-next-line no-restricted-syntax, guard-for-in
for (const protoName in protos) { for (const protoName in protos) {
textsecure.protobuf[protoName] = protos[protoName]; textsecure.protobuf[protoName] = protos[protoName];
} }
} }
); );
} }
skipping to change at line 44 skipping to change at line 44
loadProtoBufs('SignalStorage.proto'); loadProtoBufs('SignalStorage.proto');
loadProtoBufs('SubProtocol.proto'); loadProtoBufs('SubProtocol.proto');
loadProtoBufs('DeviceMessages.proto'); loadProtoBufs('DeviceMessages.proto');
loadProtoBufs('Stickers.proto'); loadProtoBufs('Stickers.proto');
// Just for encrypting device names // Just for encrypting device names
loadProtoBufs('DeviceName.proto'); loadProtoBufs('DeviceName.proto');
// Metadata-specific protos // Metadata-specific protos
loadProtoBufs('UnidentifiedDelivery.proto'); loadProtoBufs('UnidentifiedDelivery.proto');
// Groups
loadProtoBufs('Groups.proto');
})(); })();
 End of changes. 2 change blocks. 
1 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)