diff options
author | fiaxh <git@lightrise.org> | 2018-11-24 21:00:44 +0100 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2018-11-24 14:05:03 -0600 |
commit | 22340cb88e056211cd2e08036e7a1982e37c391b (patch) | |
tree | e35a39662c7292ad01f3a1ba64a7089e674a4b6a /main | |
parent | c44489214e040f48042d27254d4c18a78e343049 (diff) | |
download | dino-22340cb88e056211cd2e08036e7a1982e37c391b.tar.gz dino-22340cb88e056211cd2e08036e7a1982e37c391b.zip |
Always use Account.hash(equals)_func for HashMap+ArrayList
Diffstat (limited to 'main')
-rw-r--r-- | main/src/ui/add_conversation/conference_list.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/ui/add_conversation/conference_list.vala b/main/src/ui/add_conversation/conference_list.vala index 69e8c952..2f52558d 100644 --- a/main/src/ui/add_conversation/conference_list.vala +++ b/main/src/ui/add_conversation/conference_list.vala @@ -11,7 +11,7 @@ protected class ConferenceList : FilterableList { public signal void conversation_selected(Conversation? conversation); private StreamInteractor stream_interactor; - private HashMap<Account, Gee.List<Xep.Bookmarks.Conference>> lists = new HashMap<Account, Gee.List<Xep.Bookmarks.Conference>>(); + private HashMap<Account, Gee.List<Xep.Bookmarks.Conference>> lists = new HashMap<Account, Gee.List<Xep.Bookmarks.Conference>>(Account.hash_func, Account.equals_func); public ConferenceList(StreamInteractor stream_interactor) { this.stream_interactor = stream_interactor; |