diff options
author | Logan Hunt <loganhunt@simponic.xyz> | 2022-04-01 17:09:33 -0600 |
---|---|---|
committer | Logan Hunt <loganhunt@simponic.xyz> | 2022-04-01 17:09:33 -0600 |
commit | d4b72c082a12074e55a3bfab65e4cb0bc6c71720 (patch) | |
tree | dbb45f61ffa988b39874c8898ccd794b54cb23da | |
parent | 5b8d0008567eba55a3b425cb475b42990634246b (diff) | |
download | locchat-main.tar.gz locchat-main.zip |
-rw-r--r-- | client/components/map/chat_room_geoman.jsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/client/components/map/chat_room_geoman.jsx b/client/components/map/chat_room_geoman.jsx index 86b5c8a..aa3acf5 100644 --- a/client/components/map/chat_room_geoman.jsx +++ b/client/components/map/chat_room_geoman.jsx @@ -158,7 +158,9 @@ export const Geoman = ({ user, userPos, joinRoom }) => { const { lat: latitude, lng: longitude } = shape.layer.getLatLng(); const chatRoom = await api.post('/chat_rooms', { - name: prompt("What's the name of the chat room?\n(Chat rooms are deleted after 2 hours of inactivity)"), + name: prompt( + "What's the name of the chat room?\n(Chat rooms are deleted after 2 hours of inactivity, unless you are an admin)", + ), latitude, longitude, radius: shape.layer.getRadius(), |