diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-06-07 07:55:23 +0200 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-06-07 08:00:03 +0200 |
commit | 0571ba1fb1948a6cc050230a85201291ababbf04 (patch) | |
tree | b6c8d029cc181be9b71b084d2b6059a8917bf4fc /lib/csapi/account-data.cpp | |
parent | 7761c2b791291adee0505c869305b5675e90ed3b (diff) | |
download | libquotient-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/account-data.cpp')
0 files changed, 0 insertions, 0 deletions