This commit is contained in:
nuclearfog 2023-04-19 21:59:32 +02:00
parent 9f2ab52964
commit e77babd536
No known key found for this signature in database
GPG Key ID: 03488A185C476379
2 changed files with 2 additions and 12 deletions

View File

@ -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 + "\"";
} }
} }

View File

@ -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());