hopefully im not spamming
This commit is contained in:
1 parent
9275e5fdf7
commit
43501f84ad
1 file changed
+1
-1
@@ -1516,7 +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 Sable.';
|
||||
if (err.code === 1) response = 'You have denied Sable access to you location services.';
|
||||
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