@@ -36,13 +36,13 @@ export default Vue.extend({
 | 
			
		||||
				includeReplies: this.mode == 'with-replies',
 | 
			
		||||
				includeMyRenotes: this.mode != 'my-posts',
 | 
			
		||||
				withFiles: this.mode == 'with-media',
 | 
			
		||||
				untilId: cursor ? cursor : undefined
 | 
			
		||||
				untilDate: cursor ? cursor : new Date().getTime() + 1000 * 86400 * 365
 | 
			
		||||
			}).then(notes => {
 | 
			
		||||
				if (notes.length == fetchLimit + 1) {
 | 
			
		||||
					notes.pop();
 | 
			
		||||
					return {
 | 
			
		||||
						notes: notes,
 | 
			
		||||
						cursor: notes[notes.length - 1].id
 | 
			
		||||
						cursor: new Date(notes[notes.length - 1].createdAt).getTime()
 | 
			
		||||
					};
 | 
			
		||||
				} else {
 | 
			
		||||
					return {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user