mirror of
https://github.com/aljazceru/signal-cli.git
synced 2026-01-30 19:14:20 +01:00
some small dbus return code fixes (#556)
* some small dbus return code fixes * Added DBus manpage * changed getDisplayName behaviour * reverted change in manager
This commit is contained in:
@@ -333,6 +333,9 @@ public class DbusSignalImpl implements Signal {
|
||||
public void joinGroup(final String groupLink) {
|
||||
try {
|
||||
final var linkUrl = GroupInviteLinkUrl.fromUri(groupLink);
|
||||
if (linkUrl == null) {
|
||||
throw new Error.Failure("Group link is invalid:");
|
||||
}
|
||||
m.joinGroup(linkUrl);
|
||||
} catch (GroupInviteLinkUrl.InvalidGroupLinkException | GroupLinkNotActiveException e) {
|
||||
throw new Error.Failure("Group link is invalid: " + e.getMessage());
|
||||
|
||||
Reference in New Issue
Block a user