aboutsummaryrefslogtreecommitdiff
path: root/src/client/event_handler.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/event_handler.rs')
-rw-r--r--src/client/event_handler.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/event_handler.rs b/src/client/event_handler.rs
index 5af7314..741c79c 100644
--- a/src/client/event_handler.rs
+++ b/src/client/event_handler.rs
@@ -216,7 +216,7 @@ pub trait EventHandler {
///
/// Provides the old message if available and the new message.
#[cfg(feature = "cache")]
- fn message_update(&self, _ctx: Context, _old_if_available: Option<Message>, _new: Message) {}
+ fn message_update(&self, _ctx: Context, _old_if_available: Option<Message>, _new: Option<Message>, _event: MessageUpdateEvent) {}
/// Dispatched when a message is updated.
///