diff options
| author | fiaxh <git@lightrise.org> | 2023-01-16 17:24:58 +0100 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-10-05 14:32:05 +0200 |
| commit | 202ef664fb6fd86f2ddea57a588b64e130e481d1 (patch) | |
| tree | 8236fdd16e67cfc202f6ae0197586bc44d56c042 /libdino | |
| parent | 6c5ec41beb126698fb096931a5da6cd5df0cecbb (diff) | |
MAM: Fix latest range not being stored in db if it contained a duplicate
Diffstat (limited to 'libdino')
| -rw-r--r-- | libdino/src/service/history_sync.vala | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libdino/src/service/history_sync.vala b/libdino/src/service/history_sync.vala index 830fd513..ae705d17 100644 --- a/libdino/src/service/history_sync.vala +++ b/libdino/src/service/history_sync.vala @@ -206,13 +206,7 @@ public class Dino.HistorySync { PageRequestResult page_result = yield get_mam_page(account, query_params, null); debug("[%s | %s] Latest page result: %s", account.bare_jid.to_string(), mam_server.to_string(), page_result.page_result.to_string()); - if (page_result.page_result == PageResult.Duplicate) { - // No new messages - return null; - } - if (page_result.page_result == PageResult.Error) { - debug("[%s | %s] Failed fetching latest page %s", mam_server.to_string(), mam_server.to_string(), page_result.page_result.to_string()); return null; } |
