File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ await Global.Server.GhostSay(new Say()
205205 }
206206 ret = ret
207207 . Where ( x => x . Target == model . Channel && x . SayPlace == SayPlace . Channel )
208- . OrderByDescending ( x => x . Time ) . Take ( 200 ) ;
208+ . OrderByDescending ( x => x . LobbyChatHistoryID ) . Take ( 200 ) ;
209209 }
210210 else if ( ! string . IsNullOrEmpty ( model . User ) )
211211 {
@@ -226,7 +226,7 @@ await Global.Server.GhostSay(new Say()
226226 //Users can abuse rename to gain access to other users PMs, it's a feature
227227 ret = ret
228228 . Where ( x => ( x . User == model . User && x . Target == Global . Account . Name || x . User == Global . Account . Name && x . Target == model . User ) && x . SayPlace == SayPlace . User )
229- . OrderByDescending ( x => x . Time ) ;
229+ . OrderByDescending ( x => x . LobbyChatHistoryID ) ;
230230 }
231231 else
232232 {
Original file line number Diff line number Diff line change 4141 if (document .getElementById (' chatbox' ).value == ' ' ) {
4242 $ (' form#form' ).trigger (' submit' );
4343 }
44+ setTimeout (updateChat, 5000 );
4445 }
45- setInterval (updateChat, 5000 );
4646 updateChat ();
4747 </script >
You can’t perform that action at this time.
0 commit comments