File tree Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -40,13 +40,35 @@ export default {
4040 JSON . parse ( arr [ arr . length - 2 ] )
4141 ) ;
4242
43- console . log ( uid ) ;
43+ console . log ( uid , isStartTyping ) ;
4444 saveTyingEvent ( uid , isStartTyping ) ;
4545 }
4646 } ) ;
4747 return websocket_instant ;
4848 } ;
4949 window . WebSocket . prototype = WebSocketOrig . prototype ;
5050 window . WebSocket . prototype . constructor = window . WebSocket ;
51+
52+ requireLazy (
53+ [
54+ "LSUpdateTypingIndicator" ,
55+ "LSTypingUpdateTypingIndicatorStoredProcedure_Optimized" ,
56+ ] ,
57+ ( L1 , L2 ) => {
58+ const L1Orig = L1 . prototype . constructor ;
59+ L1 . prototype . constructor = function ( ) {
60+ console . log ( arguments ) ;
61+ return L1Orig . apply ( this , arguments ) ;
62+ } ;
63+
64+ const L2Orig = L2 . prototype . constructor ;
65+ L2 . prototype . constructor = function ( ) {
66+ console . log ( "L2" , arguments ) ;
67+ return L2Orig . apply ( this , arguments ) ;
68+ } ;
69+ }
70+ ) ;
5171 } ,
72+
73+ onDocumentIdle : ( ) => { } ,
5274} ;
You can’t perform that action at this time.
0 commit comments