mirror of
https://github.com/chatmail/core.git
synced 2026-05-05 14:26:30 +03:00
Emit ChatEphemeralTimerModified when user changes the timer
This commit is contained in:
@@ -176,6 +176,11 @@ impl ChatId {
|
||||
paramsv![timer, self],
|
||||
)
|
||||
.await?;
|
||||
|
||||
context.emit_event(Event::ChatEphemeralTimerModified {
|
||||
chat_id: self,
|
||||
timer: timer.to_u32(),
|
||||
});
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user