summaryrefslogtreecommitdiff
path: root/client/components/map/chat_room_geoman.jsx
diff options
context:
space:
mode:
authorLogan Hunt <loganhunt@simponic.xyz>2022-04-01 17:09:33 -0600
committerLogan Hunt <loganhunt@simponic.xyz>2022-04-01 17:09:33 -0600
commitd4b72c082a12074e55a3bfab65e4cb0bc6c71720 (patch)
treedbb45f61ffa988b39874c8898ccd794b54cb23da /client/components/map/chat_room_geoman.jsx
parent5b8d0008567eba55a3b425cb475b42990634246b (diff)
downloadlocchat-d4b72c082a12074e55a3bfab65e4cb0bc6c71720.tar.gz
locchat-d4b72c082a12074e55a3bfab65e4cb0bc6c71720.zip
Fix messageHEADmain
Diffstat (limited to 'client/components/map/chat_room_geoman.jsx')
-rw-r--r--client/components/map/chat_room_geoman.jsx4
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(),