fix local_time field of message and file_transfer being loaded from time db column
This commit is contained in:
parent
3ea00446fb
commit
443e7ee49d
|
@ -77,7 +77,7 @@ public class FileTransfer : Object {
|
||||||
}
|
}
|
||||||
direction = row[db.file_transfer.direction];
|
direction = row[db.file_transfer.direction];
|
||||||
time = new DateTime.from_unix_utc(row[db.file_transfer.time]);
|
time = new DateTime.from_unix_utc(row[db.file_transfer.time]);
|
||||||
local_time = new DateTime.from_unix_utc(row[db.file_transfer.time]);
|
local_time = new DateTime.from_unix_utc(row[db.file_transfer.local_time]);
|
||||||
encryption = (Encryption) row[db.file_transfer.encryption];
|
encryption = (Encryption) row[db.file_transfer.encryption];
|
||||||
file_name = row[db.file_transfer.file_name];
|
file_name = row[db.file_transfer.file_name];
|
||||||
path = row[db.file_transfer.path];
|
path = row[db.file_transfer.path];
|
||||||
|
|
|
@ -82,7 +82,7 @@ public class Message : Object {
|
||||||
}
|
}
|
||||||
direction = row[db.message.direction];
|
direction = row[db.message.direction];
|
||||||
time = new DateTime.from_unix_utc(row[db.message.time]);
|
time = new DateTime.from_unix_utc(row[db.message.time]);
|
||||||
local_time = new DateTime.from_unix_utc(row[db.message.time]);
|
local_time = new DateTime.from_unix_utc(row[db.message.local_time]);
|
||||||
body = row[db.message.body];
|
body = row[db.message.body];
|
||||||
marked = (Message.Marked) row[db.message.marked];
|
marked = (Message.Marked) row[db.message.marked];
|
||||||
encryption = (Encryption) row[db.message.encryption];
|
encryption = (Encryption) row[db.message.encryption];
|
||||||
|
|
Loading…
Reference in a new issue