Change message type to 'normal' for ONLINE clients, 'chat' for ONLINE_WITH_OTHER_APP + OFFLINE

Change message type to 'normal' for ONLINE clients, 'chat' for ONLINE_WITH_OTHER_APP + OFFLINE