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":