예제 #1
0
 public void addText(MessData md) {
   addText(
       md.getIconIndex(),
       md.isIncoming(),
       md.getNick(),
       md.getText().toString(),
       md.getTime(),
       md.getRowData(),
       md.getServerMsgId());
 }
예제 #2
0
 public void addMessageToHistory(
     Contact contact, Message message, String from, boolean isSystemNotice) {
   addText(
       Chat.buildMessage(
           contact,
           message,
           from,
           isSystemNotice,
           Chat.isHighlight(message.getProcessedText(), contact.getMyName())));
 }