IMessage imsg = new IMessage();
imsg.timestamp = msg.timestamp;
imsg.sender = msg.sender;
imsg.receiver = msg.receiver;
imsg.setContent(msg.content);
<BUG>return db.insertMessage(imsg, uid);

}</BUG>
public boolean handleMessageACK(int msgLocalID, long uid) {
PeerMessageDB db = PeerMessageDB.getInstance();

IMessage imsg = new IMessage();
imsg.timestamp = msg.timestamp;
imsg.sender = msg.sender;
imsg.receiver = msg.receiver;
imsg.setContent(msg.content);
boolean r = db.insertMessage(imsg, uid);
msg.msgLocalID = imsg.msgLocalID;
return r;
}
public boolean handleMessageACK(int msgLocalID, long uid) {
PeerMessageDB db = PeerMessageDB.getInstance();
