private void doArchiveThread(UserRequest ureq, Message currMsg) {
Message m = currMsg.getThreadtop();
Long topMessageId = (m == null) ? currMsg.getKey() : m.getKey();
ForumRTFFormatter rtff = new ForumRTFFormatter(getArchiveContainer(ureq), true);
ForumArchiveManager fam = ForumArchiveManager.getInstance();
fam.applyFormatterForOneThread(rtff, forum.getKey().longValue(), topMessageId.longValue());
}