]> git.r.bdr.sh - rbdr/mobius/blobdiff - hotline/transaction_handlers.go
Fix bug in news article reply threading
[rbdr/mobius] / hotline / transaction_handlers.go
index 86cc7580f7216710042bea40bd5ace81e11470e5..d99da53519a393c559fd6ce005157f7f34e0f8db 100644 (file)
@@ -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),