File tree 1 file changed +5
-5
lines changed
src/Symfony/Component/Notifier/Bridge/Matrix
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -95,6 +95,11 @@ protected function doSend(MessageInterface $message): SentMessage
95
95
return $ sentMessage ;
96
96
}
97
97
98
+ protected function getEndpoint (bool $ full = false ): string
99
+ {
100
+ return rtrim (($ full ? $ this ->getScheme ().':// ' : '' ).$ this ->host .($ this ->port ? ': ' .$ this ->port : '' ), '/ ' );
101
+ }
102
+
98
103
private function getRoomFromAlias (string $ alias ): string
99
104
{
100
105
$ response = $ this ->request ('GET ' , \sprintf ('/_matrix/client/v3/directory/room/%s ' , urlencode ($ alias )));
@@ -146,11 +151,6 @@ private function getWhoami(): ?array
146
151
return $ response ->toArray ();
147
152
}
148
153
149
- protected function getEndpoint (bool $ full = false ): string
150
- {
151
- return rtrim (($ full ? $ this ->getScheme ().':// ' : '' ).$ this ->host .($ this ->port ? ': ' .$ this ->port : '' ), '/ ' );
152
- }
153
-
154
154
private function getScheme (): string
155
155
{
156
156
return $ this ->ssl ? 'https ' : 'http ' ;
You can’t perform that action at this time.
0 commit comments