act made the word more general
This commit is contained in:
1 parent
982f93de04
commit
9275e5fdf7
1 file changed
+1
-2
@@ -1516,8 +1516,7 @@ export const useCommands = (mx: MatrixClient, room: Room): CommandRecord => {
|
||||
|
||||
function error(err: any) {
|
||||
let response = `Unable to retrieve the location data, Error no. ${err.code}: ${err.message}`;
|
||||
if (err.code === 1)
|
||||
response = 'You have denied access to the location for the website.';
|
||||
if (err.code === 1) response = 'You have denied access to the location for Sable.';
|
||||
if (err.code === 2)
|
||||
response = 'Your device does not have a gps module, or it may not be turned on.';
|
||||
sendFeedback(response, room, mx.getSafeUserId());
|
||||
|
||||
Reference in new issue
Block a user