• LNJ's avatar
    Fix roster sorting · 388b44e6
    LNJ authored
    By a mistake the items were not updated correctly. The old
    'lastExchanged' datetime was set again instead of the new.
    
    This also removes the ORDER BY clause from the SELECT query in the
    RosterDb. Sorting is done completely in the RosterModel now.
    
    There was also a remaining issue with the id being not optional in the
    messages table: When updating a message an empty id could still be
    inserted. This caused a crash.
    
    Fixes #298.
    388b44e6
Name
Last commit
Last update
3rdparty Loading commit data...
data/images Loading commit data...
doc/licenses Loading commit data...
i18n Loading commit data...
misc Loading commit data...
src Loading commit data...
utils Loading commit data...
.clang-format Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.gitmodules Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
CMakeLists.txt Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
changelog.md Loading commit data...
clickable.json Loading commit data...
kaidan_qml.qrc Loading commit data...
kirigami-icons.qrc Loading commit data...