[Azoth OTRoid] Check if the message is just injected.

Fixes infinite recursion and segfault.