| 
															
																@ -597,6 +597,7 @@ class Sessions extends RedisModel { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                            return; 
															 | 
															
															 | 
															
																                            return; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                        } 
															 | 
															
															 | 
															
																                        } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                        if(endMsgScore>startMsgScore){ 
															 | 
															
															 | 
															
																                        if(endMsgScore>startMsgScore){ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																                            console.error("endMsgScore>startMsgScore"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                            redis.zrangebyscoreAsync(messagesTimestampKey, startMsgScore, endMsgScore, "limit", offset, count) 
															 | 
															
															 | 
															
																                            redis.zrangebyscoreAsync(messagesTimestampKey, startMsgScore, endMsgScore, "limit", offset, count) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                                .then(function (res) { 
															 | 
															
															 | 
															
																                                .then(function (res) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                                    if (res.length == 0) { 
															 | 
															
															 | 
															
																                                    if (res.length == 0) { 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@ -616,6 +617,7 @@ class Sessions extends RedisModel { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                                    handler(err, false); 
															 | 
															
															 | 
															
																                                    handler(err, false); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                                }) 
															 | 
															
															 | 
															
																                                }) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                        }else{ 
															 | 
															
															 | 
															
																                        }else{ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																                            console.error(3); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                            // 从消息时间表中过滤出要获取的消息ID列表,倒序取出消息 
															 | 
															
															 | 
															
																                            // 从消息时间表中过滤出要获取的消息ID列表,倒序取出消息 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                            redis.zrevrangebyscoreAsync(messagesTimestampKey, startMsgScore, endMsgScore, "limit", offset, count) 
															 | 
															
															 | 
															
																                            redis.zrevrangebyscoreAsync(messagesTimestampKey, startMsgScore, endMsgScore, "limit", offset, count) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                                .then(function (res) { 
															 | 
															
															 | 
															
																                                .then(function (res) { 
															 |