mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 02:39:05 +01:00
Use stored session metadata instead of fetching it again
This commit is contained in:
@@ -797,10 +797,8 @@ class GroupInvitationManagerImpl extends ConversationClientImpl
|
||||
if (deletableSession == null) {
|
||||
StoredSession ss = getSession(txn, g, sessionId);
|
||||
if (ss == null) throw new DbException();
|
||||
BdfDictionary sessionMeta = clientHelper
|
||||
.getMessageMetadataAsDictionary(txn, ss.storageId);
|
||||
Session<?> session = sessionParser
|
||||
.parseSession(g, sessionMeta);
|
||||
Session<?> session =
|
||||
sessionParser.parseSession(g, ss.bdfSession);
|
||||
deletableSession = new DeletableSession(session.getState());
|
||||
sessions.put(sessionId, deletableSession);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user