Q 348

Cleric Warlock Interaction Question .

Warlock PoC With Darkness and Devils Sight invocation
Cleric Inflict Wounds

I use the Warlock combo of casting Darkness on myself and being able to see with Devils sight, this usually means i would have advantage as the enemy cannot see me attack.
But does this still apply if i Have my Familiar deliver the Cast of Inflict Wounds to the enemy while im in darkness , im still technically the one casting the spell.