Commit b411f07d authored by Richard van der Hoff's avatar Richard van der Hoff
Browse files

InboundGroupSession.init no longer requires a separate message_index

parent cfcee54a
......@@ -314,13 +314,13 @@ def do_inbound_group(args):
credentials = json.load(args.credentials_file)
for k in ('message_index', 'session_key'):
for k in ('session_key', ):
if not k in credentials:
sys.stderr.write("Credentials file is missing %s\n" % k)
session = InboundGroupSession()
session.init(credentials['message_index'], credentials['session_key'])
with open(args.session_file, "wb") as f:
Supports Markdown
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