aboutsummaryrefslogtreecommitdiff
path: root/libsylph/account.c
diff options
context:
space:
mode:
Diffstat (limited to 'libsylph/account.c')
-rw-r--r--libsylph/account.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libsylph/account.c b/libsylph/account.c
index 6b0dd17f..e2fd8b38 100644
--- a/libsylph/account.c
+++ b/libsylph/account.c
@@ -103,6 +103,11 @@ void account_write_config_all(void)
prefs_account_write_config_all(account_list);
}
+PrefsAccount *account_get_current_account(void)
+{
+ return cur_account;
+}
+
PrefsAccount *account_find_from_smtp_server(const gchar *address,
const gchar *smtp_server)
{