Fixed bug when users sent messages to nobody

Signed-off-by: Bebe Peng <bebepeng@gmail.com>