no message

This commit is contained in:
2025-02-18 23:45:24 +03:00
parent 073bbfd544
commit 5046d84b86
21 changed files with 218 additions and 63 deletions

View File

@@ -141,7 +141,10 @@ public class ComponentsServer extends RepositoryServer<BugReportsDatabase> {
Email(message, address);
}
}
//--
}
@Override
public void ActivateDB() {
super.ActivateDB();
try {
credentials_db = new CredentialsDatabase();
credentials_db.Activate();
@@ -339,6 +342,9 @@ public class ComponentsServer extends RepositoryServer<BugReportsDatabase> {
}
response.object = account;
}
void ReceiveCredentialsDatabase() throws Exception{
response.object = Utils_.fileToBytes(credentials_db.getFile());
}
//--
@Override
protected void UnsafeSession() throws Exception {
@@ -375,6 +381,9 @@ public class ComponentsServer extends RepositoryServer<BugReportsDatabase> {
@Override
protected void Session() throws Exception {
switch (code) {
case ReceiveCredentialsDatabase:
ReceiveCredentialsDatabase();
break;
case ReceiveAllArchives:
ReceiveAllArchives();
break;