diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-08-23 08:42:49 +0200 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-08-23 09:42:03 +0200 |
commit | 6953e55361f600a591c08b9cd287a350230b3ef8 (patch) | |
tree | 4c81e61712ef3bd8f978f9bb9f8ce4430f0367d6 /lib/events/roomkeyevent.cpp | |
parent | 2914657e594b46bcdc04d320732fa1799978c0a8 (diff) | |
download | libquotient-6953e55361f600a591c08b9cd287a350230b3ef8.tar.gz libquotient-6953e55361f600a591c08b9cd287a350230b3ef8.zip |
Room: isMember(); memberState() only needs user id
Room::memberJoinState() was only used to check if the user has joined
the room (it couldn't be used for anything else), meaning that its best
replacement is actually not memberState() but isMember() introduced
hereby. It's also better to pass user ids instead of User objects to
memberState() and isMember() since that is enough to check membership.
# Conflicts:
# lib/room.cpp
# lib/room.h
Diffstat (limited to 'lib/events/roomkeyevent.cpp')
0 files changed, 0 insertions, 0 deletions