Fixed peer appearance updates from bulk telemetry transfer

This commit is contained in:
Mark Qvist 2025-11-19 14:38:22 +01:00
parent 4ed2be0707
commit 553401884a

View file

@ -2407,7 +2407,7 @@ class SidebandCore():
if not "appearance" in data_dict:
data_dict["appearance"] = None
if from_bulk_telemetry and data_dict["appearance"] != SidebandCore.DEFAULT_APPEARANCE:
if from_bulk_telemetry and data_dict["appearance"] != SidebandCore.DEFAULT_APPEARANCE and data_dict["appearance"] != None:
RNS.log("Aborting appearance update from bulk transfer, since conversation already has appearance set: "+str(appearance)+" / "+str(data_dict["appearance"]), RNS.LOG_DEBUG)
return