aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/util
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2020-04-01 16:08:28 +0200
committerMarvin W <git@larma.de>2020-04-01 17:40:47 +0200
commit0af8526ab107fd4f1862db87cf26aff97940f322 (patch)
treed45b70e32a9f273c3de88ff1da5b28fbb2396a95 /main/src/ui/util
parent2f52291be546b6fd68a1d8c4eb81978cb592a882 (diff)
downloaddino-0af8526ab107fd4f1862db87cf26aff97940f322.tar.gz
dino-0af8526ab107fd4f1862db87cf26aff97940f322.zip
Work-around use after free
Upstream: https://gitlab.gnome.org/GNOME/vala/-/issues/751
Diffstat (limited to 'main/src/ui/util')
-rw-r--r--main/src/ui/util/helper.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/ui/util/helper.vala b/main/src/ui/util/helper.vala
index 6421473e..4af2cf3c 100644
--- a/main/src/ui/util/helper.vala
+++ b/main/src/ui/util/helper.vala
@@ -62,7 +62,7 @@ public static async AvatarDrawer get_conversation_avatar_drawer(StreamInteractor
return yield get_conversation_participants_avatar_drawer(stream_interactor, conversation, new Jid[0]);
}
-public static async AvatarDrawer get_conversation_participants_avatar_drawer(StreamInteractor stream_interactor, Conversation conversation, Jid[] jids) {
+public static async AvatarDrawer get_conversation_participants_avatar_drawer(StreamInteractor stream_interactor, Conversation conversation, owned Jid[] jids) {
AvatarManager avatar_manager = stream_interactor.get_module(AvatarManager.IDENTITY);
MucManager muc_manager = stream_interactor.get_module(MucManager.IDENTITY);
if (conversation.type_ != Conversation.Type.GROUPCHAT) {