@@ -369,7 +369,7 @@ internal void ParseJsonUpdatePointers(string jsonString)
369
369
return ;
370
370
}
371
371
372
- Debug . WriteLine ( $ "Received JSON to parse: { jsonString } ") ;
372
+ Console . WriteLine ( $ "Received JSON to parse: { jsonString } ") ;
373
373
374
374
var jArray = JArray . Parse ( jsonString ) ;
375
375
@@ -392,7 +392,7 @@ internal void ParseJsonUpdatePointers(string jsonString)
392
392
continue ;
393
393
}
394
394
395
- Debug . WriteLine ( $ "Parsing JSON:\n --Key: { update . Key } ,\n --Value: { json } ") ;
395
+ Console . WriteLine ( $ "Parsing JSON:\n --Key: { update . Key } ,\n --Value: { json } ") ;
396
396
397
397
switch ( update . Key )
398
398
{
@@ -402,13 +402,13 @@ internal void ParseJsonUpdatePointers(string jsonString)
402
402
if ( ! jObject . TryGetValue ( "channel_id" , out var readChannelId )
403
403
|| ! jObject . TryGetValue ( "data" , out var data ) )
404
404
{
405
- Debug . WriteLine ( "Incorrect read recepits JSON payload!" ) ;
405
+ Console . WriteLine ( "Incorrect read recepits JSON payload!" ) ;
406
406
continue ;
407
407
}
408
408
409
409
if ( ! TryGetChannel ( readChannelId . ToString ( ) , out var readReceiptChannel ) )
410
410
{
411
- Debug . WriteLine ( "Can't find the read receipt channel!" ) ;
411
+ Console . WriteLine ( "Can't find the read receipt channel!" ) ;
412
412
continue ;
413
413
}
414
414
@@ -447,7 +447,7 @@ internal void ParseJsonUpdatePointers(string jsonString)
447
447
break ;
448
448
case "event" :
449
449
case "message_report" :
450
- Debug . WriteLine ( "Deserialized event / message report" ) ;
450
+ Console . WriteLine ( "Deserialized event / message report" ) ;
451
451
452
452
if ( ! CUtilities . IsValidJson ( json ) )
453
453
{
@@ -577,7 +577,7 @@ internal void ParseJsonUpdatePointers(string jsonString)
577
577
var channelPointer = JsonConvert . DeserializeObject < IntPtr > ( json ) ;
578
578
if ( channelPointer != IntPtr . Zero )
579
579
{
580
- Debug . WriteLine ( "Deserialized channel update" ) ;
580
+ Console . WriteLine ( "Deserialized channel update" ) ;
581
581
582
582
var id = Channel . GetChannelIdFromPtr ( channelPointer ) ;
583
583
0 commit comments