Skip to content

Commit 8246d5e

Browse files
committed
Rename wrongly named method
1 parent dcac4cc commit 8246d5e

File tree

3 files changed

+19
-18
lines changed

3 files changed

+19
-18
lines changed

docs/JSON-RPC.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -129,23 +129,6 @@ Results:
129129
| result.version | string | The Jamulus version. |
130130

131131

132-
### jamulus/pollServerList
133-
134-
Request list of servers in a directory.
135-
136-
Parameters:
137-
138-
| Name | Type | Description |
139-
| --- | --- | --- |
140-
| params.directory | string | Socket address of directory to query. Example: anygenre1.jamulus.io:22124. |
141-
142-
Results:
143-
144-
| Name | Type | Description |
145-
| --- | --- | --- |
146-
| result | string | "ok" or "error" if bad arguments. |
147-
148-
149132
### jamulusclient/getChannelInfo
150133

151134
Returns the client's profile information.
@@ -205,6 +188,23 @@ Results:
205188
| result.clients | array | The client list. See jamulusclient/clientListReceived for the format. |
206189

207190

191+
### jamulusclient/pollServerList
192+
193+
Request list of servers in a directory.
194+
195+
Parameters:
196+
197+
| Name | Type | Description |
198+
| --- | --- | --- |
199+
| params.directory | string | Socket address of directory to query. Example: anygenre1.jamulus.io:22124. |
200+
201+
Results:
202+
203+
| Name | Type | Description |
204+
| --- | --- | --- |
205+
| result | string | "ok" or "error" if bad arguments. |
206+
207+
208208
### jamulusclient/sendChatText
209209

210210
Sends a chat text message.

key

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
sdjfkldsjklfjskldjfw0fji

src/clientrpc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ CClientRpc::CClientRpc ( CClient* pClient, CRpcServer* pRpcServer, QObject* pare
151151
pRpcServer->BroadcastNotification ( "jamulusclient/recorderState", QJsonObject{ { "state", newRecorderState } } );
152152
} );
153153

154-
/// @rpc_method jamulus/pollServerList
154+
/// @rpc_method jamulusclient/pollServerList
155155
/// @brief Request list of servers in a directory.
156156
/// @param {string} params.directory - Socket address of directory to query. Example: anygenre1.jamulus.io:22124.
157157
/// @result {string} result - "ok" or "error" if bad arguments.

0 commit comments

Comments
 (0)