]> nmode's Git Repositories - signal-cli/commitdiff
fix typos in DBus doc (#774)
authorJohn Freed <okgithub@johnfreed.com>
Wed, 13 Oct 2021 06:00:07 +0000 (08:00 +0200)
committerGitHub <noreply@github.com>
Wed, 13 Oct 2021 06:00:07 +0000 (08:00 +0200)
and expand on functioning of joinGroup method

man/signal-cli-dbus.5.adoc

index f38afc93c5bc1dcc4d2c25dea31f0eaeadb153fd..550585805d35d6bd4025d101c99eee7d97828d0b 100755 (executable)
@@ -129,7 +129,7 @@ Exceptions: None, if the group name is not found an empty array is returned
 joinGroup(inviteURI<s>) -> <>::
 * inviteURI : String starting with https://signal.group/#
 
 joinGroup(inviteURI<s>) -> <>::
 * inviteURI : String starting with https://signal.group/#
 
-If the link requires admin approval, this adds you to the requesting members list. Otherwise, this adds you to the pending members list.
+Behavior of this method depends on the `requirePermission` parameter of the `enableLink` method. If permission is required, `joinGroup` adds you to the requesting members list. Permission may be granted based on the group's `PermissionAddMember` property (`ONLY_ADMINS` or `EVERY_MEMBER`). If permission is not required, `joinGroup` admits you immediately to the group.
 
 Exceptions: Failure
 
 
 Exceptions: Failure
 
@@ -203,7 +203,7 @@ To get all properties, use:
 addAdmins(recipients<as>) -> <>::
 * recipients  : String array of phone numbers
 
 addAdmins(recipients<as>) -> <>::
 * recipients  : String array of phone numbers
 
-Grant admit privileges to recipients.
+Grant admin privileges to recipients.
 
 Exceptions: Failure
 
 
 Exceptions: Failure