aboutsummaryrefslogtreecommitdiff
path: root/events/roommemberevent.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2017-11-01 20:59:52 +0300
committerKitsune Ral <Kitsune-Ral@users.sf.net>2017-11-01 20:59:52 +0300
commit2390082f7ca264aabeadc8f62bb71c39ce2b96f0 (patch)
treee8e69bce4eefb434ae244e73dde7e9e1c0df352e /events/roommemberevent.h
parenta275ef911b3f4d0334df0628324aee0081dd3a65 (diff)
downloadlibquotient-2390082f7ca264aabeadc8f62bb71c39ce2b96f0.tar.gz
libquotient-2390082f7ca264aabeadc8f62bb71c39ce2b96f0.zip
Event::isStateEvent(); fixed StateEvent::_prev always being initialised
Event::isStateEvent() is an easier way to make checking an event kind (instead of enumerating through all types corresponding to state changes). StateEvent::_prev (accessible through prev_content) should only be initialised if there's a previous state in the original JSON.
Diffstat (limited to 'events/roommemberevent.h')
0 files changed, 0 insertions, 0 deletions