diff options
| author | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2023-01-21 09:40:59 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-21 09:40:59 -0800 |
| commit | c519856703dbb94c58ec070a103c8df72ab98b19 (patch) | |
| tree | ef413a057f41375a162299b061411a32d66560c7 /hotline | |
| parent | 2d92d26e8abe2c368796e9d38c9ad87d0ac53df5 (diff) | |
| parent | f808efcdd6f221d2a7079591f07fd01f7379ecd2 (diff) | |
Merge pull request #91 from jhalter/fix_article_reply_threading
Fix bug in news article reply threading
Diffstat (limited to 'hotline')
| -rw-r--r-- | hotline/transaction_handlers.go | 2 |
1 files changed, 1 insertions, 1 deletions
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), |