Remove verbose updateLastMessage logging, fix MediaGallery save
This commit is contained in:
parent
0ac3517d51
commit
5e64e4ef40
2 changed files with 1 additions and 7 deletions
|
@ -904,12 +904,6 @@
|
||||||
: null,
|
: null,
|
||||||
});
|
});
|
||||||
|
|
||||||
console.log('Conversation: Update last message:', {
|
|
||||||
id: this.idForLogging() || null,
|
|
||||||
messageTimestamp: lastMessageUpdate.timestamp || null,
|
|
||||||
messageType: lastMessageJSON ? lastMessageJSON.type : null,
|
|
||||||
messageSentAt: lastMessageJSON ? lastMessageJSON.sent_at : null,
|
|
||||||
});
|
|
||||||
this.set(lastMessageUpdate);
|
this.set(lastMessageUpdate);
|
||||||
|
|
||||||
if (this.hasChanged('lastMessage') || this.hasChanged('timestamp')) {
|
if (this.hasChanged('lastMessage') || this.hasChanged('timestamp')) {
|
||||||
|
|
|
@ -658,7 +658,7 @@
|
||||||
Component: Signal.Components.LightboxGallery,
|
Component: Signal.Components.LightboxGallery,
|
||||||
props: {
|
props: {
|
||||||
messages: media,
|
messages: media,
|
||||||
onSave: () => saveAttachment({ message }),
|
onSave: saveAttachment,
|
||||||
selectedIndex,
|
selectedIndex,
|
||||||
},
|
},
|
||||||
onClose: () => Signal.Backbone.Views.Lightbox.hide(),
|
onClose: () => Signal.Backbone.Views.Lightbox.hide(),
|
||||||
|
|
Loading…
Reference in a new issue