Introduce a flag EventManager::Silent
authorManuel Nickschas <sputnick@quassel-irc.org>
Thu, 7 Oct 2010 07:04:31 +0000 (09:04 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 13 Oct 2010 23:06:32 +0000 (01:06 +0200)
commit46a76ffbf0e9e7af3d4ceb074c0b8dff461b4a86
treea2ec2779f53371b360eca7656934962498457c8c
parent56b69808aa71b882aa792fadfda2733d765c2ba8
Introduce a flag EventManager::Silent

If this is set, the EventStringifier won't generate a MessageEvent for this event.
This is thought for the CoreSessionEventProcessor (and possibly scripts) to hide
messages in certain cases, without circumventing further processing of the event.
Example would be suppressing WHO messages on autowho.
src/common/eventmanager.h
src/core/coresessioneventprocessor.cpp
src/core/eventstringifier.cpp
src/core/eventstringifier.h