Question: do you mind if i join you answer?
Answer: If you mind, the appropriate answer is yes (I do mind), and if you don't, the appropriate answer is no (I don't mind). But the CONVEYED content of (1) is a request. So if you grant the request, the appropriate answer is yes (go ahead), and if you don't, the appropriate answer is no (don't do it).