Skip to content

Stop being able to crash NeoChat by pressing a button repeatedly

Joshua Goins requested to merge work/redstrate/linkpreview-remove-fixes into master

If you spam click the "Close link preview" button, it's possible to crash NeoChat. This is because the index check is wrong for the array size.

It's possible to even do this due to a bug causing the removal to be reflected visually too slowly, that's fixed in the next commit.


We were missing a endResetModel() call, now with it added the removal happens instantly.

Edited by Joshua Goins

Merge request reports

Loading