Distinguish between Archive and Delete #157

Merged
erinn merged 2 commits from archive into trunk 2021-08-27 21:04:26 +00:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 31b3d48f44 - Show all commits

View File

@ -1 +1 @@
v1.1.1-18-g300b68c-2021-08-27-20-42
v1.1.1-20-gc6a3a4e-2021-08-27-20-58

View File

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