From 31b3d48f44cb13d5b4b445191ca487a8a13316f3 Mon Sep 17 00:00:00 2001 From: Sarah Jamie Lewis Date: Fri, 27 Aug 2021 14:02:16 -0700 Subject: [PATCH] Update API --- LIBCWTCH-GO.version | 2 +- lib/cwtch/cwtchNotifier.dart | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/LIBCWTCH-GO.version b/LIBCWTCH-GO.version index 9c48c0ed..4928cb77 100644 --- a/LIBCWTCH-GO.version +++ b/LIBCWTCH-GO.version @@ -1 +1 @@ -v1.1.1-18-g300b68c-2021-08-27-20-42 \ No newline at end of file +v1.1.1-20-gc6a3a4e-2021-08-27-20-58 \ No newline at end of file diff --git a/lib/cwtch/cwtchNotifier.dart b/lib/cwtch/cwtchNotifier.dart index 77d8e336..93024c76 100644 --- a/lib/cwtch/cwtchNotifier.dart +++ b/lib/cwtch/cwtchNotifier.dart @@ -298,7 +298,7 @@ class CwtchNotifier { EnvironmentConfig.debugLog("unhandled set group attribute event: ${data['Key']}"); } break; - case "SetContactAttribute": + case "SetPeerAttribute": if (data["Key"] == "local.name") { if (profileCN.getProfile(data["ProfileOnion"])?.contactList.getContact(data["RemotePeer"]) != null) { profileCN.getProfile(data["ProfileOnion"])?.contactList.getContact(data["RemotePeer"])!.nickname = data["Data"]; @@ -308,7 +308,7 @@ class CwtchNotifier { profileCN.getProfile(data["ProfileOnion"])?.contactList.getContact(data["RemotePeer"])!.isArchived = data["Data"] == "true"; } } else { - EnvironmentConfig.debugLog("unhandled set group attribute event: ${data['Key']}"); + EnvironmentConfig.debugLog("unhandled set peer attribute event: ${data['Key']}"); } break; case "NewRetValMessageFromPeer":