bug fix
This commit is contained in:
parent
9f2ab52964
commit
e77babd536
|
@ -100,15 +100,6 @@ public class StatusUpdate implements Serializable {
|
|||
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
|
||||
*
|
||||
|
@ -430,7 +421,7 @@ public class StatusUpdate implements Serializable {
|
|||
@Override
|
||||
public String toString() {
|
||||
if (replyId != 0)
|
||||
return "to=" + replyId + " tweet=\"" + text + "\"";
|
||||
return "tweet=\"" + text + "\"";
|
||||
return "to=" + replyId + " status=\"" + text + "\"";
|
||||
return "status=\"" + text + "\"";
|
||||
}
|
||||
}
|
|
@ -167,7 +167,6 @@ public class StatusEditor extends MediaActivity implements OnClickListener, OnPr
|
|||
statusUpdate.setStatus(status);
|
||||
statusText.append(status.getText());
|
||||
} else {
|
||||
statusUpdate.addStatusId(status.getId());
|
||||
statusUpdate.addReplyStatusId(status.getId());
|
||||
statusUpdate.setVisibility(status.getVisibility());
|
||||
statusUpdate.addText(status.getUserMentions());
|
||||
|
|
Loading…
Reference in New Issue