Mark threaded mapped messages as replied
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Thu, 9 Jun 2011 10:29:07 +0000 (12:29 +0200)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Thu, 9 Jun 2011 10:29:07 +0000 (12:29 +0200)
commit1fbb090ea91ab20916b3698d8afd6e300673b826
treefb2bd1c08f75db78cca75c782ce52e32c10fb4c5
parentc5bd13b7ccad6832b75e2a185169d3822c3cc4ef
Mark threaded mapped messages as replied

This prevents them from being delegated to unreplied() before the processing
thread has the chance to mark it replied. The solution would fail for
threaded messages whose processing would not reply, but I'm not aware of
such a method currently exists.

A future design of the message delegation and mapping could thread the
actual delegation instead, and this problem would be solved.
lib/rbot/messagemapper.rb