mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-18 21:59:54 +01:00
Add feed title to imported entries
Also fixes one bug where a new feed was not saved and improved HTML stripping a bit.
This commit is contained in:
@@ -60,7 +60,7 @@ class IdentityManagerImpl implements IdentityManager {
|
||||
LocalAuthor author;
|
||||
Transaction txn = db.startTransaction(true);
|
||||
try {
|
||||
author = db.getLocalAuthor(txn, a);
|
||||
author = getLocalAuthor(txn, a);
|
||||
txn.setComplete();
|
||||
} finally {
|
||||
db.endTransaction(txn);
|
||||
@@ -68,6 +68,12 @@ class IdentityManagerImpl implements IdentityManager {
|
||||
return author;
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalAuthor getLocalAuthor(Transaction txn, AuthorId a)
|
||||
throws DbException {
|
||||
return db.getLocalAuthor(txn, a);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalAuthor getLocalAuthor() throws DbException {
|
||||
return getLocalAuthors().iterator().next();
|
||||
|
||||
Reference in New Issue
Block a user