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 07:55:23 +0200 |
commit | f0c95397234d9f350e0f952dbe2b7bb652027b5f (patch) | |
tree | 61501d98caa0bcae982feaaddaddb9a4f6b2be4d /lib/identity/definitions | |
parent | 006926dfe58557fdd5e4361ca88bcf5df1ec990c (diff) | |
download | libquotient-f0c95397234d9f350e0f952dbe2b7bb652027b5f.tar.gz libquotient-f0c95397234d9f350e0f952dbe2b7bb652027b5f.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/identity/definitions')
0 files changed, 0 insertions, 0 deletions