Merge lp:~libqtelegram-team/telegram-app/dialog-bad-dates into lp:telegram-app/dev
Proposed by
Roberto Mier Escandon
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Giulio Collura | ||||
Approved revision: | 139 | ||||
Merged at revision: | 138 | ||||
Proposed branch: | lp:~libqtelegram-team/telegram-app/dialog-bad-dates | ||||
Merge into: | lp:telegram-app/dev | ||||
Diff against target: |
110 lines (+55/-14) 1 file modified
qmlplugin/data.cpp (+55/-14) |
||||
To merge this branch: | bzr merge lp:~libqtelegram-team/telegram-app/dialog-bad-dates | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Giulio Collura | Approve | ||
Review via email: mp+245111@code.launchpad.net |
Description of the change
Changed condition to update dialogs date when inserted a messages. Not in all cases that is inserted a message the dialog date must be updated (for instance, when db is empty, on first app start, a lot of messages are inserted when history is requested)
Steps to reproduce the bug were:
- Start app up
- Enter into a dialog
- Restart app
Expected result:
- Dialogs are shown in same order and with same dates as first start
Result:
- Dialog where entered (and requested its history) has a bad date and is in bad position in list
To post a comment you must log in.
The code is fine and the issue is gone too. Thanks Roberto!