mirror of
https://github.com/RoboSats/robosats.git
synced 2025-01-18 20:21:35 +00:00
Typo robosat -> robot. Shorten welcome back msg
This commit is contained in:
parent
8fcad56e15
commit
3ce5d8304c
@ -30,6 +30,7 @@ ALTERNATIVE_SITE = 'RoboSats6tkf3eva7x2voqso3a5wcorsnw34jveyxfqi2fu7oyheasid.oni
|
|||||||
ALTERNATIVE_NAME = 'RoboSats Mainnet'
|
ALTERNATIVE_NAME = 'RoboSats Mainnet'
|
||||||
|
|
||||||
# Lightning node open info, url to amboss and 1ML
|
# Lightning node open info, url to amboss and 1ML
|
||||||
|
NETWORK = 'testnet'
|
||||||
NODE_ALIAS = '🤖RoboSats⚡(RoboDevs)'
|
NODE_ALIAS = '🤖RoboSats⚡(RoboDevs)'
|
||||||
NODE_ID = '033b58d7......'
|
NODE_ID = '033b58d7......'
|
||||||
|
|
||||||
|
@ -423,9 +423,9 @@ class UserView(APIView):
|
|||||||
user = authenticate(request, username=nickname, password=token)
|
user = authenticate(request, username=nickname, password=token)
|
||||||
if user is not None:
|
if user is not None:
|
||||||
login(request, user)
|
login(request, user)
|
||||||
# Sends the welcome back message, only if created +30 mins ago
|
# Sends the welcome back message, only if created +3 mins ago
|
||||||
if request.user.date_joined < (timezone.now()-timedelta(minutes=30)):
|
if request.user.date_joined < (timezone.now()-timedelta(minutes=3)):
|
||||||
context['found'] = 'We found your Robosat. Welcome back!'
|
context['found'] = 'We found your Robot avatar. Welcome back!'
|
||||||
return Response(context, status=status.HTTP_202_ACCEPTED)
|
return Response(context, status=status.HTTP_202_ACCEPTED)
|
||||||
else:
|
else:
|
||||||
# It is unlikely, but maybe the nickname is taken (1 in 20 Billion change)
|
# It is unlikely, but maybe the nickname is taken (1 in 20 Billion change)
|
||||||
|
@ -234,8 +234,8 @@ export default class TradeBox extends Component {
|
|||||||
<Divider/>
|
<Divider/>
|
||||||
<Grid item xs={12} align="center">
|
<Grid item xs={12} align="center">
|
||||||
<Typography component="body2" variant="body2">
|
<Typography component="body2" variant="body2">
|
||||||
Please wait for the taker to confirm by locking a bond.
|
Please wait for the taker to lock a bond.
|
||||||
If the taker does not lock a bond in time the orer will be made
|
If the taker does not lock a bond in time, the order will be made
|
||||||
public again.
|
public again.
|
||||||
</Typography>
|
</Typography>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user