[chronojump] Networks on personDeserialize stores correctly linkServerImage
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Networks on personDeserialize stores correctly linkServerImage
- Date: Thu, 15 Apr 2021 11:33:34 +0000 (UTC)
commit 7a8aeb2c7bdd6b580693a619b67d8a0ee90e7b70
Author: Xavier de Blas <xaviblas gmail com>
Date: Thu Apr 15 13:30:05 2021 +0200
Networks on personDeserialize stores correctly linkServerImage
src/json/compujump.cs | 2 +-
src/person.cs | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/json/compujump.cs b/src/json/compujump.cs
index 30899049..60aab9ff 100644
--- a/src/json/compujump.cs
+++ b/src/json/compujump.cs
@@ -124,7 +124,7 @@ public class JsonCompujump : Json
*/
LastPersonWasInserted = (personTemp.UniqueID == -1);
- return new Person(LastPersonWasInserted, id, player, rfid);
+ return new Person(LastPersonWasInserted, id, player, rfid, image);
}
diff --git a/src/person.cs b/src/person.cs
index e34a71e9..b0e80bc7 100644
--- a/src/person.cs
+++ b/src/person.cs
@@ -47,7 +47,7 @@ public class Person {
}
//coming from compujump server
- public Person(bool insertPerson, int uniqueID, string name, string rfid) //TODO:, string clubID)
+ public Person(bool insertPerson, int uniqueID, string name, string rfid, string image) //TODO:,
string clubID)
{
this.uniqueID = uniqueID;
this.name = name;
@@ -59,7 +59,7 @@ public class Person {
this.future1 = rfid;
//TODO: this.future2 = clubID;
this.serverUniqueID = Constants.ServerUndefinedID;
- this.linkServerImage = "";
+ this.linkServerImage = image;
/*
* Before insertion check that uniqueID exists locally
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]