"Fossies" - the Fresh Open Source Software Archive  

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

inbox_view.js  (Signal-Desktop-1.35.2):inbox_view.js  (Signal-Desktop-1.36.1)
/* global /* global
ConversationController, ConversationController,
i18n, i18n,
Whisper, Whisper,
Signal Signal
*/ */
// 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.StickerPackInstallFailedToast = Whisper.ToastView.extend({ Whisper.StickerPackInstallFailedToast = Whisper.ToastView.extend({
render_attributes() { render_attributes() {
return { toastMessage: i18n('stickers--toast--InstallFailed') }; return { toastMessage: i18n('stickers--toast--InstallFailed') };
}, },
}); });
Whisper.ConversationStack = Whisper.View.extend({ Whisper.ConversationStack = Whisper.View.extend({
className: 'conversation-stack', className: 'conversation-stack',
skipping to change at line 160 skipping to change at line 158
this.interval = null; this.interval = null;
break; break;
case WebSocket.CLOSING: case WebSocket.CLOSING:
case WebSocket.CLOSED: case WebSocket.CLOSED:
clearInterval(this.interval); clearInterval(this.interval);
this.interval = null; this.interval = null;
// if we failed to connect, we pretend we got an empty event // if we failed to connect, we pretend we got an empty event
this.onEmpty(); this.onEmpty();
break; break;
default: default:
// We also replicate empty here window.log.warn(
'startConnectionListener: Found unexpected socket status; calling
onEmpty() manually.'
);
this.onEmpty(); this.onEmpty();
break; break;
} }
}, 1000); }, 1000);
}, },
onEmpty() { onEmpty() {
this.setupLeftPane(); this.setupLeftPane();
this.setupCallManagerUI(); this.setupCallManagerUI();
const view = this.appLoadingScreen; const view = this.appLoadingScreen;
 End of changes. 2 change blocks. 
3 lines changed or deleted 4 lines changed or added

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