"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "js/deletes.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).

deletes.js  (Signal-Desktop-1.35.2):deletes.js  (Signal-Desktop-1.36.1)
skipping to change at line 12 skipping to change at line 12
Backbone, Backbone,
Whisper, Whisper,
MessageController, MessageController,
ConversationController ConversationController
*/ */
/* eslint-disable more/no-then */ /* eslint-disable more/no-then */
// eslint-disable-next-line func-names // eslint-disable-next-line func-names
(function() { (function() {
'use strict';
window.Whisper = window.Whisper || {}; window.Whisper = window.Whisper || {};
Whisper.Deletes = new (Backbone.Collection.extend({ Whisper.Deletes = new (Backbone.Collection.extend({
forMessage(message) { forMessage(message) {
const matchingDeletes = this.filter({ const matchingDeletes = this.filter({
targetSentTimestamp: message.get('sent_at'), targetSentTimestamp: message.get('sent_at'),
fromId: message.getContact().get('id'), fromId: message.getContact().get('id'),
}); });
if (matchingDeletes.length > 0) { if (matchingDeletes.length > 0) {
window.log.info('Found early DOE for message'); window.log.info('Found early DOE for message');
 End of changes. 1 change blocks. 
2 lines changed or deleted 0 lines changed or added

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