[lib] Use message spec when determining truncation status
Test Plan: Log out, log in, using console log check if the right truncation status is set for the messages
Reviewers: ashoat
Reviewed By: ashoat
Subscribers: KatPo, zrebcu411, Adrian, atul, subnub
Differential Revision: https://phabricator.ashoat.com/D654