Save conversation when toggling story status
This commit is contained in:
parent
203cc995a3
commit
a38b265e8b
1 changed files with 6 additions and 1 deletions
|
@ -5209,8 +5209,13 @@ export class ConversationModel extends window.Backbone
|
||||||
}
|
}
|
||||||
|
|
||||||
toggleHideStories(): void {
|
toggleHideStories(): void {
|
||||||
this.set({ hideStory: !this.get('hideStory') });
|
const hideStory = !this.get('hideStory');
|
||||||
|
log.info(
|
||||||
|
`toggleHideStories(${this.idForLogging()}): newValue=${hideStory}`
|
||||||
|
);
|
||||||
|
this.set({ hideStory });
|
||||||
this.captureChange('hideStory');
|
this.captureChange('hideStory');
|
||||||
|
window.Signal.Data.updateConversation(this.attributes);
|
||||||
}
|
}
|
||||||
|
|
||||||
setMuteExpiration(
|
setMuteExpiration(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue