I have experienced this many times already... Especially both of us were invited by our common friend to jam with us and it was hard to decline our friend's invitation...
So we jammed together but I was just very civil... I did not talk nor look at that person I dislike that person so much since that person did unlikely things to me... I just treated that person a wind which I did not see...