mirror of
https://github.com/Reckless-Satoshi/robosats.git
synced 2024-09-11 19:57:11 +03: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'
|
||||
|
||||
# Lightning node open info, url to amboss and 1ML
|
||||
NETWORK = 'testnet'
|
||||
NODE_ALIAS = '🤖RoboSats⚡(RoboDevs)'
|
||||
NODE_ID = '033b58d7......'
|
||||
|
||||
|
@ -423,9 +423,9 @@ class UserView(APIView):
|
||||
user = authenticate(request, username=nickname, password=token)
|
||||
if user is not None:
|
||||
login(request, user)
|
||||
# Sends the welcome back message, only if created +30 mins ago
|
||||
if request.user.date_joined < (timezone.now()-timedelta(minutes=30)):
|
||||
context['found'] = 'We found your Robosat. Welcome back!'
|
||||
# Sends the welcome back message, only if created +3 mins ago
|
||||
if request.user.date_joined < (timezone.now()-timedelta(minutes=3)):
|
||||
context['found'] = 'We found your Robot avatar. Welcome back!'
|
||||
return Response(context, status=status.HTTP_202_ACCEPTED)
|
||||
else:
|
||||
# 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/>
|
||||
<Grid item xs={12} align="center">
|
||||
<Typography component="body2" variant="body2">
|
||||
Please wait for the taker to confirm by locking a bond.
|
||||
If the taker does not lock a bond in time the orer will be made
|
||||
Please wait for the taker to lock a bond.
|
||||
If the taker does not lock a bond in time, the order will be made
|
||||
public again.
|
||||
</Typography>
|
||||
</Grid>
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user