Skip to content

[th2-2150] books and pages support#13

Open
isengrims wants to merge 1 commit intodev-version-2from
th2-2150
Open

[th2-2150] books and pages support#13
isengrims wants to merge 1 commit intodev-version-2from
th2-2150

Conversation

@isengrims
Copy link

No description provided.

override fun onRequest(request: RawHttpRequest, uuid: String, parentEventID: String) {
val rawMessage = request.toRawMessage(connectionID, generateSequenceRequest(), uuid, parentEventID)
override fun onRequest(request: RawHttpRequest, uuid: String, parentEventID: EventID) {
val rawMessage = request.toRawMessage(connectionID, generateSequenceRequest(), uuid, parentEventID.id)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
val rawMessage = request.toRawMessage(connectionID, generateSequenceRequest(), uuid, parentEventID.id)
val rawMessage = request.toRawMessage(connectionID, generateSequenceRequest(), uuid, parentEventID)

We must pass full event id because it is composite

@@ -71,8 +71,8 @@ private fun ByteArrayOutputStream.toRawMessage(
this.parentEventIdBuilder.id = eventId

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should use origin event id instead of rebuilding

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants