Decode messages and presences