aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/typing.cpp
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-06-07 07:55:23 +0200
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-06-07 08:00:03 +0200
commit0571ba1fb1948a6cc050230a85201291ababbf04 (patch)
treeb6c8d029cc181be9b71b084d2b6059a8917bf4fc /lib/csapi/typing.cpp
parent7761c2b791291adee0505c869305b5675e90ed3b (diff)
downloadlibquotient-0571ba1fb1948a6cc050230a85201291ababbf04.tar.gz
libquotient-0571ba1fb1948a6cc050230a85201291ababbf04.zip
Connection::joinRoom() shouldn't enforce room state
This is an adjustment to the earlier fix of #471: if a join is immediately followed by a leave (e.g. from another client/bot - you can't do it programmatically from libQuotient) the sync may bring the room already in the Leave state; therefore `joinRoom` should not impose the state but rather ask `provideRoom` to create a `Join` room - just as it's designed when passed an empty `joinState`.
Diffstat (limited to 'lib/csapi/typing.cpp')
0 files changed, 0 insertions, 0 deletions