summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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(),