Wire up ‘View All Media’ menu item

This commit is contained in:
Daniel Gasienica 2018-04-11 11:41:38 -04:00
parent d14761087a
commit 273248d3fd
3 changed files with 8 additions and 2 deletions

View file

@ -111,6 +111,7 @@
'disappearing-messages': i18n('disappearingMessages'),
'android-length-warning': i18n('androidMessageLengthWarning'),
timer_options: Whisper.ExpirationTimerOptions.models,
'view-all-media': i18n('viewAllMedia'),
};
},
initialize(options) {
@ -568,6 +569,10 @@
el[0].scrollIntoView();
},
viewAllMedia() {
console.log('View All Media');
},
scrollToBottom() {
// If we're above the last seen indicator, we should scroll there instead
// Note: if we don't end up at the bottom of the conversation, button won't go away!