s/updateCurrentKey/updateCurrentMediaKey/g
It implements SAS verification as per the Matrix spec, adapted to our environment.