From: Jeff Halter Date: Sat, 21 Jan 2023 17:39:41 +0000 (-0800) Subject: Fix bug in news article reply threading X-Git-Url: https://git.r.bdr.sh/rbdr/mobius/commitdiff_plain/f808efcdd6f221d2a7079591f07fd01f7379ecd2 Fix bug in news article reply threading --- 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),