status-desktop/test
Jonathan Rainville db6af0554a fix(chat-model): use setData to set the chat model
Fixes #10384

The problem was that doing the sort inside the insertRows messed up the model.
I removed it and it fixed the issues. However, it created an other issue with ordering.

The problem this time is that when populating the model at the start, we do not get the chats in order, so calculating the right position to insert a chat is difficult.

Instead, I use a setData function to just put all the chats in the items list, sort it and call it done, using the resetModel function.

I also did some clean ups.
2023-04-24 11:06:17 -04:00
..
libs/StatusGoQt fix(@desktop/cpp): Implement StatusGoQt::sendMessage() function 2023-04-18 10:47:42 +02:00
nim feat(chat): implement marking specific messages as seen 2023-04-17 18:53:42 +02:00
ui-test fix(chat-model): use setData to set the chat model 2023-04-24 11:06:17 -04:00
unit chore(CPP): Basic project configuration setup using Qt6 2022-06-30 12:16:33 +02:00