The syncapi operates using userID's so when querying for the previous state event we need to lookup the userID from the given senderID before the state query.
/sync