inflateMessage method
Implementation
void inflateMessage(MessageModel message) {
int pellet = (message.createdAt / (timePellet * 1000)).truncate();
if (!pelletShow.contains(pellet)) {
pelletShow.add(pellet);
message.showCreatedTime = true;
} else {
message.showCreatedTime = false;
}
}