From f808efcdd6f221d2a7079591f07fd01f7379ecd2 Mon Sep 17 00:00:00 2001 From: Jeff Halter <868228+jhalter@users.noreply.github.com> Date: Sat, 21 Jan 2023 09:39:41 -0800 Subject: Fix bug in news article reply threading --- hotline/transaction_handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hotline') diff --git a/hotline/transaction_handlers.go b/hotline/transaction_handlers.go index 86cc758..d99da53 100644 --- a/hotline/transaction_handlers.go +++ b/hotline/transaction_handlers.go @@ -1357,7 +1357,7 @@ func HandlePostNewsArt(cc *ClientConn, t *Transaction) (res []Transaction, err e } convertedArtID := uint32(artID) bs := make([]byte, 4) - binary.LittleEndian.PutUint32(bs, convertedArtID) + binary.BigEndian.PutUint32(bs, convertedArtID) newArt := NewsArtData{ Title: string(t.GetField(fieldNewsArtTitle).Data), -- cgit