CtdlDeleteMessages(): deploy smarter logic to check which messages are to be deleted
authorWilfried Goesgens <dothebart@citadel.org>
Mon, 5 Mar 2012 21:35:18 +0000 (22:35 +0100)
committerWilfried Goesgens <dothebart@citadel.org>
Mon, 5 Mar 2012 21:35:18 +0000 (22:35 +0100)
commit4a456661fc5540a3c03cca33d025953490e6554e
treedc90c17e590b12db5b8cbf42a2aa4d78624a9ed1
parent18dee8c3d4593cfd33a2a865470627b898111d5e
CtdlDeleteMessages(): deploy smarter logic to check which messages are to be deleted

  - sort the to be deleted message list before starting to search them inside of the list of messages in this room
  - before: compare each in the roomlist to each in the delete list.
  - after: fast forward over the room-messagelist while the message id is smaller than the currently to be checked delete message ID.
citadel/msgbase.c