presence: rpc presence.presentity_list is returning an array
authorDaniel-Constantin Mierla <miconda@gmail.com>
Tue, 21 Apr 2020 13:25:25 +0000 (15:25 +0200)
committerDaniel-Constantin Mierla <miconda@gmail.com>
Tue, 21 Apr 2020 13:25:25 +0000 (15:25 +0200)
src/modules/presence/presence.c

index 84997b4..cbbc23f 100644 (file)
@@ -1932,7 +1932,7 @@ rpc_export_t presence_rpc[] = {
        {"presence.updateWatchers", rpc_presence_update_watchers,
                        rpc_presence_update_watchers_doc, 0},
        {"presence.presentity_list", rpc_presence_presentity_list,
-                       rpc_presence_presentity_list_doc, 0},
+                       rpc_presence_presentity_list_doc, RET_ARRAY},
        {0, 0, 0, 0}
 };