Clarify function of "Delete" option when deleting conversation messages
This commit is contained in:
parent
edd6ed5fab
commit
fcf2c0a3f0
7 changed files with 20 additions and 29 deletions
|
@ -371,8 +371,6 @@ export class ConversationModel extends window.Backbone
|
|||
this.unset('tokens');
|
||||
|
||||
this.on('change:members change:membersV2', this.fetchContacts);
|
||||
this.on('change:isArchived', this.onArchiveChange);
|
||||
|
||||
this.typingRefreshTimer = null;
|
||||
this.typingPauseTimer = null;
|
||||
|
||||
|
@ -4141,17 +4139,6 @@ export class ConversationModel extends window.Backbone
|
|||
}
|
||||
}
|
||||
|
||||
private onArchiveChange() {
|
||||
const isArchived = this.get('isArchived');
|
||||
if (isArchived) {
|
||||
return;
|
||||
}
|
||||
if (!this.get('hiddenFromConversationSearch')) {
|
||||
return;
|
||||
}
|
||||
this.set('hiddenFromConversationSearch', false);
|
||||
}
|
||||
|
||||
setMarkedUnread(markedUnread: boolean): void {
|
||||
const previousMarkedUnread = this.get('markedUnread');
|
||||
|
||||
|
@ -4855,9 +4842,6 @@ export class ConversationModel extends window.Backbone
|
|||
active_at: null,
|
||||
pendingUniversalTimer: undefined,
|
||||
});
|
||||
if (isGroup(this.attributes)) {
|
||||
this.set('hiddenFromConversationSearch', true);
|
||||
}
|
||||
window.Signal.Data.updateConversation(this.attributes);
|
||||
|
||||
await window.Signal.Data.removeAllMessagesInConversation(this.id, {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue