Module: kamailio Branch: master Commit: 261b7e13d711e5361ed491a8fd04efee2d73709e URL: https://github.com/kamailio/kamailio/commit/261b7e13d711e5361ed491a8fd04efee...
Author: Olle E. Johansson oej@edvina.net Committer: Olle E. Johansson oej@edvina.net Date: 2022-01-03T16:00:05+01:00
matrix: Add RPC response on matrix reload success
---
Modified: src/modules/matrix/matrix.c
---
Diff: https://github.com/kamailio/kamailio/commit/261b7e13d711e5361ed491a8fd04efee... Patch: https://github.com/kamailio/kamailio/commit/261b7e13d711e5361ed491a8fd04efee...
---
diff --git a/src/modules/matrix/matrix.c b/src/modules/matrix/matrix.c index d2177ccb24..54f26aa0f7 100644 --- a/src/modules/matrix/matrix.c +++ b/src/modules/matrix/matrix.c @@ -526,11 +526,12 @@ static void matrix_rpc_reload(rpc_t* rpc, void* c) if(db_reload_matrix() < 0) { rpc->fault(c, 500, "Reload failed"); } + rpc->rpl_printf(c, "Ok. Reload successful."); matrix_db_close(); }
static const char *matrix_rpc_reload_doc[2] = { - "reload matrix records from database", + "Reload matrix records from database", 0 };