diff options
author | Felix Rohrbach <fxrh@gmx.de> | 2016-09-15 00:26:05 +0200 |
---|---|---|
committer | Felix Rohrbach <fxrh@gmx.de> | 2016-09-15 00:26:05 +0200 |
commit | 87cb641e36fee7010766c73c32fa45115dec1a3c (patch) | |
tree | 0f64aeb55a126382803ccace8c70f641413b26eb /CMakeLists.txt | |
parent | d1dfe71769accc391a0a722bd4627b2d18389874 (diff) | |
download | libquotient-87cb641e36fee7010766c73c32fa45115dec1a3c.tar.gz libquotient-87cb641e36fee7010766c73c32fa45115dec1a3c.zip |
Correct user sorting for room name creation
In the previous version, it was possible that u1 >= u2 and u2 >= u1:
Assume u1 == me, u1->id() < u2->id()
Then u1 >= u2, as u1 == me (i.e. it returns false)
but also u2 >= u1, as u2->id() > u1->id() (returns false again)
For me, this had the effect of having three rooms called fxrh.
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions