Merge pull request #657 from sachaaaaa/fix_-DEVICE_MAPPING_ANNOTATION_KEY

Fix DEVICE_MAPPING_USER_ANNOTATION_TYPE
This commit is contained in:
sachaaaaa 2019-11-26 10:14:05 +11:00 committed by GitHub
commit 9733aee0d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -230,7 +230,10 @@ class LokiHomeServerInstance extends LokiFileServerInstance {
}
clearOurDeviceMappingAnnotations() {
return this._server.setSelfAnnotation(DEVICE_MAPPING_ANNOTATION_KEY, null);
return this._server.setSelfAnnotation(
DEVICE_MAPPING_USER_ANNOTATION_TYPE,
null
);
}
}