small privacy improvements
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		@@ -67,8 +67,9 @@ class JournalHandler(BaseHandler):
 | 
			
		||||
                date = date
 | 
			
		||||
            )
 | 
			
		||||
        if new:
 | 
			
		||||
            count = self.models.JournalEntry.select().count()
 | 
			
		||||
            await query.edit_message_text(
 | 
			
		||||
                text=f"What is your entry for {self.current_model.date_pretty}?"
 | 
			
		||||
                text=f"Journal entry no. {count}. What happened on {self.current_model.date_pretty}?"
 | 
			
		||||
            )
 | 
			
		||||
        else:
 | 
			
		||||
            await query.edit_message_text(text="An entry already exists for this date")
 | 
			
		||||
@@ -113,7 +114,10 @@ class JournalHandler(BaseHandler):
 | 
			
		||||
                await update.message.reply_text("An entry already exists for this date")
 | 
			
		||||
                return ConversationHandler.END
 | 
			
		||||
            else:
 | 
			
		||||
                await update.message.reply_text(f"What is your entry for {self.current_model.date_pretty}?")
 | 
			
		||||
                count = self.models.JournalEntry.select().count()
 | 
			
		||||
                await update.message.reply_text(
 | 
			
		||||
                    text=f"Journal entry no. {count}. What happened on {self.current_model.date_pretty}?"
 | 
			
		||||
                )
 | 
			
		||||
                return ADD_CONTENT
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user