public void addText(MessData md) { addText( md.getIconIndex(), md.isIncoming(), md.getNick(), md.getText().toString(), md.getTime(), md.getRowData(), md.getServerMsgId()); }
private static boolean hasMessage(MessData mess, MessData messFromDataBase) { return mess.getNick().equals(messFromDataBase.getNick()) && mess.getText().toString().equals(messFromDataBase.getText().toString()); }