Remove accepted message without explicit user action
This commit is contained in:
parent
8a21f8655f
commit
11ea595457
6 changed files with 28 additions and 39 deletions
|
@ -2163,11 +2163,15 @@ export class ConversationModel extends window.Backbone
|
|||
|
||||
if (didResponseChange) {
|
||||
if (response === messageRequestEnum.ACCEPT) {
|
||||
drop(
|
||||
this.addMessageRequestResponseEventMessage(
|
||||
MessageRequestResponseEvent.ACCEPT
|
||||
)
|
||||
);
|
||||
// Only add a message when the user took an explicit action to accept
|
||||
// the message request on one of their devices
|
||||
if (!viaStorageServiceSync) {
|
||||
drop(
|
||||
this.addMessageRequestResponseEventMessage(
|
||||
MessageRequestResponseEvent.ACCEPT
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
if (
|
||||
response === messageRequestEnum.BLOCK ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue