diff options
author | fiaxh <git@lightrise.org> | 2023-10-07 14:29:26 +0200 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2023-10-07 14:34:23 +0200 |
commit | 1e167eeea67f18f3d5788dc34d97d94e6f401499 (patch) | |
tree | df73a70a25fb02d7a2e70623b3ab5ecbe86ced53 /libdino/src/service/avatar_manager.vala | |
parent | 0c45387bf903e5b0d02502d27642dd2a78aa6539 (diff) | |
download | dino-1e167eeea67f18f3d5788dc34d97d94e6f401499.tar.gz dino-1e167eeea67f18f3d5788dc34d97d94e6f401499.zip |
Fix some compiler warnings
Diffstat (limited to 'libdino/src/service/avatar_manager.vala')
-rw-r--r-- | libdino/src/service/avatar_manager.vala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libdino/src/service/avatar_manager.vala b/libdino/src/service/avatar_manager.vala index 1296856b..3bd38e72 100644 --- a/libdino/src/service/avatar_manager.vala +++ b/libdino/src/service/avatar_manager.vala @@ -52,7 +52,7 @@ public class AvatarManager : StreamInteractionModule, Object { if (hash == null) return null; File file = File.new_for_path(Path.build_filename(folder, hash)); if (!file.query_exists()) { - fetch_and_store_for_jid(account, jid_); + fetch_and_store_for_jid.begin(account, jid_); return null; } else { return file; @@ -169,7 +169,7 @@ public class AvatarManager : StreamInteractionModule, Object { ); foreach (var entry in get_avatar_hashes(account, Source.USER_AVATARS).entries) { - on_user_avatar_received(account, entry.key, entry.value); + on_user_avatar_received.begin(account, entry.key, entry.value); } foreach (var entry in get_avatar_hashes(account, Source.VCARD).entries) { @@ -179,7 +179,7 @@ public class AvatarManager : StreamInteractionModule, Object { continue; } - on_vcard_avatar_received(account, entry.key, entry.value); + on_vcard_avatar_received.begin(account, entry.key, entry.value); } } |