I am trying to accept an invite sent from a user on other side but I am not able to catch the event which matrix throws when we invite a user from other side.
I have tried to spot the event but could not and went through the documentation but have not found any clue.