tuned up send inv logic

Signed-off-by: Eshaan Bhalla <eshaan@strumsoft.com>
Merge branch 'master' of https://github.com/fbierhaus/hackathon