mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
Include reason for inactive group link in error message
This commit is contained in:
parent
e844abcad1
commit
376fcba9ec
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ public class GroupHelper {
|
||||||
groupJoinInfo = context.getGroupV2Helper()
|
groupJoinInfo = context.getGroupV2Helper()
|
||||||
.getDecryptedGroupJoinInfo(inviteLinkUrl.getGroupMasterKey(), inviteLinkUrl.getPassword());
|
.getDecryptedGroupJoinInfo(inviteLinkUrl.getGroupMasterKey(), inviteLinkUrl.getPassword());
|
||||||
} catch (GroupLinkNotActiveException e) {
|
} catch (GroupLinkNotActiveException e) {
|
||||||
throw new InactiveGroupLinkException("Group link inactive", e);
|
throw new InactiveGroupLinkException("Group link inactive (reason: " + e.getReason() + ")", e);
|
||||||
}
|
}
|
||||||
final var groupChange = context.getGroupV2Helper()
|
final var groupChange = context.getGroupV2Helper()
|
||||||
.joinGroup(inviteLinkUrl.getGroupMasterKey(), inviteLinkUrl.getPassword(), groupJoinInfo);
|
.joinGroup(inviteLinkUrl.getGroupMasterKey(), inviteLinkUrl.getPassword(), groupJoinInfo);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue