Private
Public Access
1
0

Implements marking conversations as read when clicked on

This commit is contained in:
2025-06-18 15:00:54 -07:00
parent 4170f13092
commit a70adbb7f1
4 changed files with 18 additions and 0 deletions

View File

@@ -112,6 +112,14 @@ public class Repository : DBusServiceProxy {
dbus_repository.sync_conversation(conversation_guid);
}
public void mark_conversation_as_read(string conversation_guid) throws DBusServiceProxyError, GLib.Error {
if (dbus_repository == null) {
throw new DBusServiceProxyError.NOT_CONNECTED("Repository not connected");
}
dbus_repository.mark_conversation_as_read(conversation_guid);
}
public void download_attachment(string attachment_guid, bool preview) throws DBusServiceProxyError, GLib.Error {
if (dbus_repository == null) {
throw new DBusServiceProxyError.NOT_CONNECTED("Repository not connected");