Fixed the transformation for MessagingStyle

Previously the calculations for the transformations
were off, leading to wrong transformations and
messages that would be invisible during the
transformations

Fixes: 122980290
Test: add multiple messages, observe right transformations
Change-Id: I4eb430f99017148e662dd35f744b70f1148b982c
1 file changed