add(MESSAGE_ID+jid, Arrays.asList(msg_history));
} else {
msg_history = msg_history_l.get(0);
}
long current_secs = (System.currentTimeMillis()/1000) - start_time;
msg_history.findChild("/iq/chat").addChild(new Element(direction,
new Element[] {body},
new String[] {"secs"},
new String[] {""+current_secs}));
}