Export sessions list.

This commit is contained in:
John Preston
2018-06-11 21:57:56 +03:00
parent cec8114b99
commit d3fdf433cd
6 changed files with 114 additions and 29 deletions
@@ -261,7 +261,10 @@ void Controller::exportContacts() {
}
void Controller::exportSessions() {
exportNext();
_api.requestSessions([=](Data::SessionsList &&result) {
_writer->writeSessionsList(result);
exportNext();
});
}
void Controller::exportChats() {