fix offline message timestamp diff issue