Don't notify for own messages in queries.

Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>