Przeglądaj źródła

cmd_dialog: proper prefix for rpc commands

- dlg instead of dialog
Daniel-Constantin Mierla 6 lat temu
rodzic
commit
2b239f7840
1 zmienionych plików z 3 dodań i 3 usunięć
  1. 3 3
      kamcli/commands/cmd_dialog.py

+ 3 - 3
kamcli/commands/cmd_dialog.py

@@ -46,7 +46,7 @@ def dialog_list(ctx):
 
     \b
     """
-    command_ctl(ctx, 'dialog.list', [ ])
+    command_ctl(ctx, 'dlg.list', [ ])
 
 
 ##
@@ -66,7 +66,7 @@ def dialog_list(ctx, callid, fromtag, totag):
         <fromtag> - From-Tag value
         <to-tag> - To-Tag value
     """
-    command_ctl(ctx, 'dialog.terminate_dlg', [ callid, fromtag, totag ])
+    command_ctl(ctx, 'dlg.terminate_dlg', [ callid, fromtag, totag ])
 
 
 ##
@@ -79,4 +79,4 @@ def dialog_stats_active(ctx):
 
     \b
     """
-    command_ctl(ctx, 'dialog.stats_active', [ ])
+    command_ctl(ctx, 'dlg.stats_active', [ ])