mirror of
https://github.com/aljazceru/signal-cli.git
synced 2025-12-31 04:44:19 +01:00
Include reason for inactive group link in error message
This commit is contained in:
@@ -262,7 +262,7 @@ public class GroupHelper {
|
||||
groupJoinInfo = context.getGroupV2Helper()
|
||||
.getDecryptedGroupJoinInfo(inviteLinkUrl.getGroupMasterKey(), inviteLinkUrl.getPassword());
|
||||
} 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()
|
||||
.joinGroup(inviteLinkUrl.getGroupMasterKey(), inviteLinkUrl.getPassword(), groupJoinInfo);
|
||||
|
||||
Reference in New Issue
Block a user