Changeset View
Changeset View
Standalone View
Standalone View
src/client/client-model.cpp
| Show All 28 Lines | |||||
| #include "actions/send.hpp" | #include "actions/send.hpp" | ||||
| #include "actions/states.hpp" | #include "actions/states.hpp" | ||||
| #include "actions/account-data.hpp" | #include "actions/account-data.hpp" | ||||
| #include "actions/sync.hpp" | #include "actions/sync.hpp" | ||||
| #include "actions/ephemeral.hpp" | #include "actions/ephemeral.hpp" | ||||
| #include "actions/content.hpp" | #include "actions/content.hpp" | ||||
| #include "actions/encryption.hpp" | #include "actions/encryption.hpp" | ||||
| #include "actions/profile.hpp" | #include "actions/profile.hpp" | ||||
| #include "actions/storage.hpp" | |||||
| namespace Kazv | namespace Kazv | ||||
| { | { | ||||
| auto ClientModel::update(ClientModel m, Action a) -> Result | auto ClientModel::update(ClientModel m, Action a) -> Result | ||||
| { | { | ||||
| auto oldClient = m; | auto oldClient = m; | ||||
| auto oldDeviceLists = m.deviceLists; | auto oldDeviceLists = m.deviceLists; | ||||
| ▲ Show 20 Lines • Show All 381 Lines • Show Last 20 Lines | |||||