From 6b7ef800f54e781a618425236ba8d4ed2f2fef9c Mon Sep 17 00:00:00 2001 From: fiaxh Date: Fri, 21 Sep 2018 21:52:25 +0200 Subject: [PATCH] Use Account's equals_func for Gee.List fixes #407 --- libdino/src/service/notification_events.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libdino/src/service/notification_events.vala b/libdino/src/service/notification_events.vala index a8164970..8c86f9d4 100644 --- a/libdino/src/service/notification_events.vala +++ b/libdino/src/service/notification_events.vala @@ -16,7 +16,7 @@ public class NotificationEvents : StreamInteractionModule, Object { private StreamInteractor stream_interactor; private HashMap> mam_potential_new = new HashMap>(Account.hash_func, Account.equals_func); - private Gee.List synced_accounts = new ArrayList(); + private Gee.List synced_accounts = new ArrayList(Account.equals_func); public static void start(StreamInteractor stream_interactor) { NotificationEvents m = new NotificationEvents(stream_interactor);