Commit 281c5aac authored by Hubert Chathi's avatar Hubert Chathi
Browse files

fix type signature of unpickle in Inbound/OutboundGroupSession

Thanks to Dominic Fischer for spotting.
parent 611d3949
...@@ -63,7 +63,7 @@ declare class InboundGroupSession { ...@@ -63,7 +63,7 @@ declare class InboundGroupSession {
constructor(); constructor();
free(): void; free(): void;
pickle(key: string): string; pickle(key: string): string;
unpickle(key: string, pickle: string): string; unpickle(key: string, pickle: string);
create(session_key: string): string; create(session_key: string): string;
import_session(session_key: string): string; import_session(session_key: string): string;
decrypt(message: string): object; decrypt(message: string): object;
...@@ -76,7 +76,7 @@ declare class OutboundGroupSession { ...@@ -76,7 +76,7 @@ declare class OutboundGroupSession {
constructor(); constructor();
free(): void; free(): void;
pickle(key: string): string; pickle(key: string): string;
unpickle(key: string): string; unpickle(key: string, pickle: string);
create(): void; create(): void;
encrypt(plaintext: string): string; encrypt(plaintext: string): string;
session_id(): string; session_id(): string;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment