"Fossies" - the Fresh Open Source Software Archive  

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

message_requests.js  (Signal-Desktop-1.35.2):message_requests.js  (Signal-Desktop-1.36.1)
/* global /* global
Backbone, Backbone,
Whisper, Whisper,
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.MessageRequests = new (Backbone.Collection.extend({ Whisper.MessageRequests = new (Backbone.Collection.extend({
forConversation(conversation) { forConversation(conversation) {
if (conversation.get('e164')) { if (conversation.get('e164')) {
const syncByE164 = this.findWhere({ const syncByE164 = this.findWhere({
threadE164: conversation.get('e164'), threadE164: conversation.get('e164'),
}); });
if (syncByE164) { if (syncByE164) {
window.log.info( window.log.info(
`Found early message request response for E164 ${conversation.get( `Found early message request response for E164 ${conversation.get(
 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)