mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-30 18:46:01 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			320 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			320 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| 'use strict';
 | |
| 
 | |
| var posts = require('../../posts');
 | |
| 
 | |
| module.exports = function (SocketPosts) {
 | |
| 	SocketPosts.getDiffs = function (socket, data, callback) {
 | |
| 		posts.diffs.list(data.pid, callback);
 | |
| 	};
 | |
| 
 | |
| 	SocketPosts.showPostAt = function (socket, data, callback) {
 | |
| 		posts.diffs.load(data.pid, data.since, callback);
 | |
| 	};
 | |
| };
 |