Self cast

Cast self to boolean so that the chats appear in different colors.