You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resulting in replacing the message in store and in DOM tree (message id=2017713 dissapears, and message id=2017786 is duplicated):
2017713: {"id": 2017786,"token": "TOKEN","actorType": "users","actorId": "actor","actorDisplayName": "...","timestamp": 1689252346,"message": "> temporary messages has relatively longer id with prefix 'temp-'...",
...
},
...
2017786: {"id": 2017786,"token": "TOKEN","actorType": "users","actorId": "actor","actorDisplayName": "...","timestamp": 1689252346,"message": "> temporary messages has relatively longer id with prefix 'temp-'...",
...
}
Steps to reproduce
Algorithm for reproducing is not defined, as it happens sometime after fetching a new messages from server.
Upd: happens quite often for system messages:
Expected behaviour
Messages should not be duplicated
Actual behaviour
See screenshot above
Talk app
Talk app version: at least 17
The text was updated successfully, but these errors were encountered:
How to use GitHub
Seems like this mutation causes incorrect object reference to be patched with wrong data:
spreed/src/store/messagesStore.js
Lines 284 to 295 in 3197426
Resulting in replacing the message in store and in DOM tree (message
id=2017713
dissapears, and messageid=2017786
is duplicated):Steps to reproduce
Algorithm for reproducing is not defined, as it happens sometime after fetching a new messages from server.
Upd: happens quite often for system messages:
Expected behaviour
Messages should not be duplicated
Actual behaviour
See screenshot above
Talk app
Talk app version: at least 17
The text was updated successfully, but these errors were encountered: