···806806 maybe_instant = last_msg.localTime(&self.client.app.tz);
807807 }
808808809809+ var first_iter = true;
809810 while (iter.next()) |msg| {
811811+ defer first_iter = false;
810812 // Break if we have gone past the top of the screen
811813 if (row < 0) break;
812814···10011003 // Check if we should print a "last read" line. If the next message we will print is
10021004 // before the last_read, and this message is after the last_read then it is our border.
10031005 // Before
10041004- if (maybe_next_instant != null and maybe_instant != null) {
10061006+ if (!first_iter and maybe_next_instant != null and maybe_instant != null) {
10051007 const this = maybe_instant.?.unixTimestamp();
10061008 const next = maybe_next_instant.?.unixTimestamp();
10071009 if (this > self.last_read and next <= self.last_read) {