String status = msg.getSignatureStatus();
// IMA from = msg.getFrom();
Presentity from = msg.getFrom();
if (from != null) {
/** SRJ check the next line */
String s1 = longUser ? from.nameAddr() : from.getFullname();
if ((getShowSignatureStatus() && status != null) || getShowDate()) {
s1 += " ";
}
doc.insertString(doc.getLength(), s1, style);
}