42wim / matterircd

Connect to your mattermost or slack using your IRC-client of choice.
MIT License
294 stars 60 forks source link

Evict cached msg on edit/delete to ensure replies don't use stale/old msgs #534

Closed hloeung closed 1 year ago

hloeung commented 1 year ago

Testing:

|17:33 <hloeung> Testing (re @hloeung: Testing my edited message …) [↪1hfz…,xbku…]
|17:33 <hloeung> Test message (edited) [1hfz…]
|17:34 <hloeung> Testing (re @hloeung: Test message) [↪1hfz…,f676…]
|17:34 <hloeung> Testing, reply (re @hloeung: Test message) [↪1hfz…,yegh…]
|17:34 <hloeung> Testing, updated message (edited) [1hfz…]
|17:34 <hloeung> Testing, reply after parent updated (re @hloeung: Testing, updated message …) [↪1hfz…,1soj…]

Without it, if the original/parent message has been edited/updated, all replies will show the old message.