Fix Block/Unblock Desktop FFI
continuous-integration/drone/pr Build is pending Details

This commit is contained in:
Sarah Jamie Lewis 2023-09-25 11:32:53 -07:00
parent ae9301c8d0
commit 1e0980e7b4
1 changed files with 2 additions and 2 deletions

View File

@ -393,7 +393,7 @@ class CwtchFfi implements Cwtch {
@override
// ignore: non_constant_identifier_names
void BlockContact(String profileOnion, int contactHandle) {
var blockContact = library.lookup<NativeFunction<string_int_to_void_function>>("c_BlockContact");
var blockContact = library.lookup<NativeFunction<string_int_to_void_function>>("c_BlockConversation");
// ignore: non_constant_identifier_names
final BlockContact = blockContact.asFunction<VoidFromStringIntFn>();
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<NativeFunction<string_int_to_void_function>>("c_UnblockContact");
var unblockContact = library.lookup<NativeFunction<string_int_to_void_function>>("c_UnblockConversation");
// ignore: non_constant_identifier_names
final UnblockContact = unblockContact.asFunction<VoidFromStringIntFn>();
final u1 = profileOnion.toNativeUtf8();