From b6799e59bb9cc2ea511b0f19aab88a83c244dda8 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Fri, 19 Apr 2019 21:42:40 +0200 Subject: Remove avatars with missmatch between supposed and actual sha1 hash on load, make loading async --- xmpp-vala/src/module/xep/pixbuf_storage.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmpp-vala/src/module/xep') diff --git a/xmpp-vala/src/module/xep/pixbuf_storage.vala b/xmpp-vala/src/module/xep/pixbuf_storage.vala index cdc227ea..550290cf 100644 --- a/xmpp-vala/src/module/xep/pixbuf_storage.vala +++ b/xmpp-vala/src/module/xep/pixbuf_storage.vala @@ -4,6 +4,6 @@ namespace Xmpp.Xep { public interface PixbufStorage : Object { public abstract void store(string id, Bytes data); public abstract bool has_image(string id); - public abstract Pixbuf? get_image(string id); + public abstract async Pixbuf? get_image(string id); } } -- cgit v1.2.3-70-g09d2