projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Only store sender and recipient IDs in a post.
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
core
/
SoneDownloader.java
diff --git
a/src/main/java/net/pterodactylus/sone/core/SoneDownloader.java
b/src/main/java/net/pterodactylus/sone/core/SoneDownloader.java
index
cf85d03
..
6c61fd8
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/core/SoneDownloader.java
+++ b/
src/main/java/net/pterodactylus/sone/core/SoneDownloader.java
@@
-376,9
+376,9
@@
public class SoneDownloader extends AbstractService {
try {
PostBuilder postBuilder = core.postBuilder();
/* TODO - parse time correctly. */
try {
PostBuilder postBuilder = core.postBuilder();
/* TODO - parse time correctly. */
- postBuilder.withId(postId).from(sone).withTime(Long.parseLong(postTime)).withText(postText);
+ postBuilder.withId(postId).from(sone
.getId()
).withTime(Long.parseLong(postTime)).withText(postText);
if ((postRecipientId != null) && (postRecipientId.length() == 43)) {
if ((postRecipientId != null) && (postRecipientId.length() == 43)) {
- postBuilder.to(
core.getSone(postRecipientId)
);
+ postBuilder.to(
postRecipientId
);
}
posts.add(postBuilder.build());
} catch (NumberFormatException nfe1) {
}
posts.add(postBuilder.build());
} catch (NumberFormatException nfe1) {