aboutsummaryrefslogtreecommitdiff
path: root/jobs/passwordlogin.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2017-09-19 10:40:31 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2017-09-19 13:01:00 +0900
commit95e6ae003e3f5ed806bc7adf4e10713cd4e35d1f (patch)
tree5d146f38c0dddd453a938be8ec2e3c9c3c575ac4 /jobs/passwordlogin.h
parentd1fd237d8f917d393a2a8491abc1554abd398085 (diff)
downloadlibquotient-95e6ae003e3f5ed806bc7adf4e10713cd4e35d1f.tar.gz
libquotient-95e6ae003e3f5ed806bc7adf4e10713cd4e35d1f.zip
Connection::cacheState property, load/saveState() tweaks and fixes
The property controls whether or not the rooms state is cached: if it's off, loadState() and saveState() become no-ops. Other changes: * loadState/saveState properly deal with rooms in Invite state (this is not quite relevant to the current branch but very much is in the light of a concurrent kitsune-invite-kick PR); * Profile loadState/saveState (because dumping and especially parsing JSON takes time); * Use QJsonDocument::Compact layout, it's about 3 times smaller and quicker to parse than Indented, and we really don't care about the cache being human-friendly; * Have a default path for the state cache, based on the connection's user id.
Diffstat (limited to 'jobs/passwordlogin.h')
0 files changed, 0 insertions, 0 deletions