diff options
author | fiaxh <git@mx.ax.lt> | 2018-09-21 21:52:25 +0200 |
---|---|---|
committer | fiaxh <git@mx.ax.lt> | 2018-09-21 21:53:53 +0200 |
commit | 6b7ef800f54e781a618425236ba8d4ed2f2fef9c (patch) | |
tree | db5f55fb7c3f17f3cc19e89bbcf4265838182b08 /libdino | |
parent | 85d194e349858b3cbbb4dd2a8ca007428378c56c (diff) | |
download | dino-6b7ef800f54e781a618425236ba8d4ed2f2fef9c.tar.gz dino-6b7ef800f54e781a618425236ba8d4ed2f2fef9c.zip |
Use Account's equals_func for Gee.List<Account>
fixes #407
Diffstat (limited to 'libdino')
-rw-r--r-- | libdino/src/service/notification_events.vala | 2 |
1 files changed, 1 insertions, 1 deletions
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<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); |