aboutsummaryrefslogtreecommitdiff
path: root/events/roommessageevent.h
diff options
context:
space:
mode:
authorFelix Rohrbach <fxrh@gmx.de>2016-09-15 00:26:05 +0200
committerFelix Rohrbach <fxrh@gmx.de>2016-09-15 00:26:05 +0200
commit87cb641e36fee7010766c73c32fa45115dec1a3c (patch)
tree0f64aeb55a126382803ccace8c70f641413b26eb /events/roommessageevent.h
parentd1dfe71769accc391a0a722bd4627b2d18389874 (diff)
downloadlibquotient-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 'events/roommessageevent.h')
0 files changed, 0 insertions, 0 deletions