Full implementation of timestamps in the chat. Each timestamp is added during the cell generation process of each chat cell. The timestamp info is grabbed from the already existing information and is applied as gray text next to the chat bubbles. The function decideToDisplayTimestamp() then decides whether to display the timestamp depending on whether the previous message in the chat has a timestamp at least 300 seconds prior (Thus meaning that a timestamp is not displayed for every single message but only messages after a period of no interaction)
Full implementation of timestamps in the chat. Each timestamp is added during the cell generation process of each chat cell. The timestamp info is grabbed from the already existing information and is applied as gray text next to the chat bubbles. The function decideToDisplayTimestamp() then decides whether to display the timestamp depending on whether the previous message in the chat has a timestamp at least 300 seconds prior (Thus meaning that a timestamp is not displayed for every single message but only messages after a period of no interaction)