diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-07-24 20:56:50 +0200 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-07-24 20:56:50 +0200 |
commit | cddf3c6a2ab7481e5816ca7632b9f919efa0ac40 (patch) | |
tree | 036840ccd377d58717c2a6552652708c91d293b1 /lib/jobs/mediathumbnailjob.h | |
parent | f340d73ae5dac0d0cfee732aabbd5222c7be16dd (diff) | |
download | libquotient-cddf3c6a2ab7481e5816ca7632b9f919efa0ac40.tar.gz libquotient-cddf3c6a2ab7481e5816ca7632b9f919efa0ac40.zip |
Wrap SyncRoomData counters into Omittables
Also: introduce a merge(T1&, const Omittable<T2>&) that does pretty much
the same as Omittable<T1>::merge(const Omittable<T2>&) except it works
on non-omittables as the left/first operand.
The change removes the need for a clumsy -2 fallback in unreadCount,
and makes the logic loading those counters cleaner along the way.
Diffstat (limited to 'lib/jobs/mediathumbnailjob.h')
0 files changed, 0 insertions, 0 deletions