diff --git a/libtextsecure/contacts_parser.js b/libtextsecure/contacts_parser.js index 4a4c38b69..e7f1a7e21 100644 --- a/libtextsecure/contacts_parser.js +++ b/libtextsecure/contacts_parser.js @@ -55,5 +55,7 @@ GroupBuffer.prototype.constructor = GroupBuffer; const ContactBuffer = function Constructor(arrayBuffer) { ProtoParser.call(this, arrayBuffer, textsecure.protobuf.ContactDetails); }; + +window.GroupBuffer = GroupBuffer; ContactBuffer.prototype = Object.create(ProtoParser.prototype); ContactBuffer.prototype.constructor = ContactBuffer;