Commit 4510f31 1 parent d1dfa00 commit 4510f31 Copy full SHA for 4510f31
File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -516,18 +516,22 @@ pub async fn receive_versia_note(
516
516
let domain = API_DOMAIN . as_str ( ) ;
517
517
for l_tag in note. mentions . clone ( ) . unwrap_or_default ( ) {
518
518
if l_tag. clone ( ) . to_string ( ) . contains ( "apbridge/user" ) {
519
+ println ! ( "{}" , l_tag. clone( ) . to_string( ) . contains( "apbridge/user" ) ) ;
519
520
tag. push ( Mention {
520
521
href : l_tag,
521
522
kind : Default :: default ( ) ,
522
523
} ) ;
523
524
continue ;
524
525
} else if !( l_tag. clone ( ) . to_string ( ) . contains ( LYSAND_DOMAIN . as_str ( ) ) || l_tag. clone ( ) . to_string ( ) . contains ( domain) ) {
526
+ println ! ( "{}" , l_tag. clone( ) . to_string( ) . contains( LYSAND_DOMAIN . as_str( ) ) ) ;
527
+ println ! ( "{}" , l_tag. clone( ) . to_string( ) . contains( domain) ) ;
525
528
tag. push ( Mention {
526
529
href : l_tag,
527
530
kind : Default :: default ( ) ,
528
531
} ) ;
529
532
continue ;
530
533
}
534
+ println ! ( "+++++++ --------- ++++++++++" ) ;
531
535
let user = db_user_from_url ( l_tag) . await ?;
532
536
let ap_url = Url :: parse ( & format ! (
533
537
"https://{}/apbridge/user/{}" ,
You can’t perform that action at this time.
0 commit comments