git » sdk » commit f766953

These are accessible via interface

author Stephen Paul Weber
2026-05-26 17:42:00 UTC
committer Stephen Paul Weber
2026-05-26 17:42:00 UTC
parent 3408897b3098a656816f81449db9cfb1c9f36436

These are accessible via interface

borogove/persistence/Sqlite.hx +2 -0

diff --git a/borogove/persistence/Sqlite.hx b/borogove/persistence/Sqlite.hx
index 1ab99c2..2219007 100644
--- a/borogove/persistence/Sqlite.hx
+++ b/borogove/persistence/Sqlite.hx
@@ -1034,6 +1034,7 @@ class Sqlite implements Persistence implements KeyValueStore {
 		@param accountId the account to remove
 		@param completely if message history, etc should be removed also
 	**/
+	@HaxeCBridge.noemit
 	public function removeAccount(accountId:String, completely:Bool) {
 		return db.exec("DELETE FROM accounts WHERE account_id=?", [accountId]).then(_ -> {
 			if (!completely) return Promise.resolve(null);
@@ -1052,6 +1053,7 @@ class Sqlite implements Persistence implements KeyValueStore {
 
 		@returns Promise resolving to array of account IDs
 	**/
+	@HaxeCBridge.noemit
 	public function listAccounts(): Promise<Array<String>> {
 		return db.exec("SELECT account_id FROM accounts").then(result ->
 			result == null ? [] : { iterator: () -> result }.map(row -> row.account_id)