bug fix
This commit is contained in:
parent
9f2ab52964
commit
e77babd536
|
@ -100,15 +100,6 @@ public class StatusUpdate implements Serializable {
|
||||||
visibility = status.getVisibility();
|
visibility = status.getVisibility();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* to edit an existing status, the ID can added
|
|
||||||
*
|
|
||||||
* @param statusId ID of an existing status to edit
|
|
||||||
*/
|
|
||||||
public void addStatusId(long statusId) {
|
|
||||||
this.statusId = statusId;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* set ID of the replied status
|
* set ID of the replied status
|
||||||
*
|
*
|
||||||
|
@ -430,7 +421,7 @@ public class StatusUpdate implements Serializable {
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
if (replyId != 0)
|
if (replyId != 0)
|
||||||
return "to=" + replyId + " tweet=\"" + text + "\"";
|
return "to=" + replyId + " status=\"" + text + "\"";
|
||||||
return "tweet=\"" + text + "\"";
|
return "status=\"" + text + "\"";
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -167,7 +167,6 @@ public class StatusEditor extends MediaActivity implements OnClickListener, OnPr
|
||||||
statusUpdate.setStatus(status);
|
statusUpdate.setStatus(status);
|
||||||
statusText.append(status.getText());
|
statusText.append(status.getText());
|
||||||
} else {
|
} else {
|
||||||
statusUpdate.addStatusId(status.getId());
|
|
||||||
statusUpdate.addReplyStatusId(status.getId());
|
statusUpdate.addReplyStatusId(status.getId());
|
||||||
statusUpdate.setVisibility(status.getVisibility());
|
statusUpdate.setVisibility(status.getVisibility());
|
||||||
statusUpdate.addText(status.getUserMentions());
|
statusUpdate.addText(status.getUserMentions());
|
||||||
|
|
Loading…
Reference in New Issue