Skip to content

Commit f01b356

Browse files
GaliaGalia
Galia
authored and
Galia
committed
signalapp#7155 If a Group Link contains a query string, that is now ignored. Instagram adds tracking via the Query string which caused Signal to be unable to lookup the group
1 parent 7693911 commit f01b356

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: ts/groups.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,8 @@ export function parseGroupLink(value: string): {
394394
masterKey: string;
395395
inviteLinkPassword: string;
396396
} {
397-
const base64 = fromWebSafeBase64(value);
397+
const valueWithUrlQueryRemoved = value.split("?")[0];
398+
const base64 = fromWebSafeBase64(valueWithUrlQueryRemoved);
398399
const buffer = Bytes.fromBase64(base64);
399400

400401
const inviteLinkProto = Proto.GroupInviteLink.decode(buffer);

0 commit comments

Comments
 (0)