|
|
@ -166,16 +166,13 @@ public class EntityOperation {
|
|
|
|
db.message().countMessageByMsgId(target.id, message.msgid) == 0) {
|
|
|
|
db.message().countMessageByMsgId(target.id, message.msgid) == 0) {
|
|
|
|
long id = message.id;
|
|
|
|
long id = message.id;
|
|
|
|
long uid = message.uid;
|
|
|
|
long uid = message.uid;
|
|
|
|
boolean browsed = message.ui_browsed;
|
|
|
|
|
|
|
|
message.id = null;
|
|
|
|
message.id = null;
|
|
|
|
message.uid = null;
|
|
|
|
message.uid = null;
|
|
|
|
message.folder = target.id;
|
|
|
|
message.folder = target.id;
|
|
|
|
message.ui_browsed = true;
|
|
|
|
|
|
|
|
long newid = db.message().insertMessage(message);
|
|
|
|
long newid = db.message().insertMessage(message);
|
|
|
|
message.id = id;
|
|
|
|
message.id = id;
|
|
|
|
message.uid = uid;
|
|
|
|
message.uid = uid;
|
|
|
|
message.folder = source.id;
|
|
|
|
message.folder = source.id;
|
|
|
|
message.ui_browsed = browsed;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (message.content)
|
|
|
|
if (message.content)
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|