Handle Matrix edit outside of Gitter edit window (send new message)
Handle Matrix edit outside of Gitter edit window (send new message)
Fix #2647 (closed)
Testing strategy
- In
modules/chats/lib/chat-service.js#L50
, editMAX_CHAT_EDIT_AGE_SECONDS
to be 1 second so it's easier to test with - From Matrix, send a message
- From Matrix, edit the message
- From Gitter, notice the original message is still in place and a new message below which shows the edit and permalinks to it.
Edited by Eric Eastwood