|
|
@ -13,6 +13,7 @@ module.exports = class { |
|
|
|
removed: false, |
|
|
|
multipart: false, |
|
|
|
anchored: false, |
|
|
|
prevWasText: false, |
|
|
|
} |
|
|
|
|
|
|
|
this.mounted = false; |
|
|
@ -48,6 +49,7 @@ module.exports = class { |
|
|
|
|
|
|
|
const timediff = Date.parse(input.post.time) - Date.parse(input.prev.time) |
|
|
|
this.state.multipart = (input.post.nick == input.prev.nick && input.prev.multipart !== false) && (Math.abs(timediff) < 60000); |
|
|
|
this.state.prevWasText = (input.prev.kind === "text"); |
|
|
|
|
|
|
|
this.updatePost(input) |
|
|
|
} |
|
|
|