Skip to content
Snippets Groups Projects
Commit 0975a0e2 authored by Jake Taylor's avatar Jake Taylor :lips:
Browse files

Fix padding issue for non-e2e

parent f795277d
No related branches found
No related tags found
No related merge requests found
......@@ -395,7 +395,7 @@ func (m *Messaging) receiveMessagesFromGateway(session user.Session,
// If message is non E2E, need to unpad payload
unpadded, err = e2e.Unpad(msg.Contents.Get())
if err == nil {
msg.Contents.Set(unpadded)
msg.Contents.SetRightAligned(unpadded)
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment