File tree 1 file changed +5
-5
lines changed 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -649,7 +649,7 @@ impl Message {
649
649
let ( videochat_type, mut url) = Message :: parse_webrtc_instance ( instance) ;
650
650
651
651
// make sure, there is a scheme in the url
652
- if !url. contains ( ":" ) {
652
+ if !url. contains ( ':' ) {
653
653
url = format ! ( "https://{}" , url) ;
654
654
}
655
655
@@ -659,10 +659,10 @@ impl Message {
659
659
} else {
660
660
// if there nothing that would separate the room, add a slash as a separator;
661
661
// this way, urls can be given as "https://meet.jit.si" as well as "https://meet.jit.si/"
662
- let maybe_slash = if url. ends_with ( "/" )
663
- || url. ends_with ( "?" )
664
- || url. ends_with ( "#" )
665
- || url. ends_with ( "=" )
662
+ let maybe_slash = if url. ends_with ( '/' )
663
+ || url. ends_with ( '?' )
664
+ || url. ends_with ( '#' )
665
+ || url. ends_with ( '=' )
666
666
{
667
667
""
668
668
} else {
You can’t perform that action at this time.
0 commit comments