From 1e0980e7b4bf1752a02f998f1f03e728e0add2f1 Mon Sep 17 00:00:00 2001 From: Sarah Jamie Lewis Date: Mon, 25 Sep 2023 11:32:53 -0700 Subject: [PATCH] Fix Block/Unblock Desktop FFI --- lib/cwtch/ffi.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/cwtch/ffi.dart b/lib/cwtch/ffi.dart index 3b1cfe9a..3b9a8535 100644 --- a/lib/cwtch/ffi.dart +++ b/lib/cwtch/ffi.dart @@ -393,7 +393,7 @@ class CwtchFfi implements Cwtch { @override // ignore: non_constant_identifier_names void BlockContact(String profileOnion, int contactHandle) { - var blockContact = library.lookup>("c_BlockContact"); + var blockContact = library.lookup>("c_BlockConversation"); // ignore: non_constant_identifier_names final BlockContact = blockContact.asFunction(); final u1 = profileOnion.toNativeUtf8(); @@ -404,7 +404,7 @@ class CwtchFfi implements Cwtch { @override // ignore: non_constant_identifier_names void UnblockContact(String profileOnion, int contactHandle) { - var unblockContact = library.lookup>("c_UnblockContact"); + var unblockContact = library.lookup>("c_UnblockConversation"); // ignore: non_constant_identifier_names final UnblockContact = unblockContact.asFunction(); final u1 = profileOnion.toNativeUtf8();