Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Commit

Permalink
fix(status/edit-history): add fake poll id
Browse files Browse the repository at this point in the history
  • Loading branch information
FineFindus committed Nov 5, 2023
1 parent b74bd66 commit 536bd11
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ public void validateAndPostprocessResponse(List<Status> respObj, Response httpRe
s.visibility=StatusPrivacy.PUBLIC;
s.mentions=Collections.emptyList();
s.tags=Collections.emptyList();
if (s.poll != null)
s.poll.id="fakeID"+i;
i++;
}
super.validateAndPostprocessResponse(respObj, httpResponse);
Expand Down

0 comments on commit 536bd11

Please sign in to comment.