File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -124,17 +124,18 @@ function M._render_full_session_data(session_data)
124124
125125 local revert_index = nil
126126
127- for i , msg in ipairs (session_data ) do
128- -- output:add_lines(M.separator)
129- -- state.current_message = msg
127+ -- local event_manager = state.event_manager
130128
129+ for i , msg in ipairs (session_data ) do
131130 if state .active_session .revert and state .active_session .revert .messageID == msg .info .id then
132131 revert_index = i
133132 end
134133
134+ -- table.insert(event_manager.captured_events, { type = 'message.updated', properties = { info = msg.info } })
135135 M .on_message_updated ({ info = msg .info }, revert_index )
136136
137137 for _ , part in ipairs (msg .parts or {}) do
138+ -- table.insert(event_manager.captured_events, { type = 'message.part.updated', properties = { part = part } })
138139 M .on_part_updated ({ part = part }, revert_index )
139140 end
140141 end
You can’t perform that action at this time.
0 commit comments