equal
deleted
inserted
replaced
150 local next_day; |
150 local next_day; |
151 repeat |
151 repeat |
152 local iter = archive:find(room, { |
152 local iter = archive:find(room, { |
153 ["start"] = next_day; |
153 ["start"] = next_day; |
154 limit = 1; |
154 limit = 1; |
|
155 with = "message<groupchat"; |
155 }) |
156 }) |
156 if not iter then break end |
157 if not iter then break end |
157 next_day = nil; |
158 next_day = nil; |
158 for key, message, when in iter do |
159 for key, message, when in iter do |
159 next_day = datetime.date(when); |
160 next_day = datetime.date(when); |