edits as standalone timeline events with old_body/new_body
This commit is contained in:
parent
bc3a4782cc
commit
9171290ae7
1 changed files with 135 additions and 32 deletions
|
|
@ -410,7 +410,8 @@ async fn fetch_event(
|
|||
let earlier_handle = if context_before > 0 && before.len() > context_before as usize {
|
||||
before.first().and_then(|e| match e {
|
||||
WireEvent::Message { event_id, .. } => Some(event_id.clone()),
|
||||
WireEvent::Reaction { target_event_id, .. } => Some(target_event_id.clone()),
|
||||
WireEvent::Reaction { target_event_id, .. }
|
||||
| WireEvent::Edit { target_event_id, .. } => Some(target_event_id.clone()),
|
||||
WireEvent::Notice { .. } => None,
|
||||
})
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue