Use Account's equals_func for Gee.List<Account>

fixes #407
This commit is contained in:
fiaxh 2018-09-21 21:52:25 +02:00
parent 85d194e349
commit 6b7ef800f5
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ public class NotificationEvents : StreamInteractionModule, Object {
private StreamInteractor stream_interactor;
private HashMap<Account, HashMap<Conversation, Entities.Message>> mam_potential_new = new HashMap<Account, HashMap<Conversation, Entities.Message>>(Account.hash_func, Account.equals_func);
private Gee.List<Account> synced_accounts = new ArrayList<Account>();
private Gee.List<Account> synced_accounts = new ArrayList<Account>(Account.equals_func);
public static void start(StreamInteractor stream_interactor) {
NotificationEvents m = new NotificationEvents(stream_interactor);