mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
typing_status: Add an extra notification_event_type to Recipients.
This is a preparatory commit. It adds an extra notification_event_type to the Recipient type. This can be used to differentiate between typing notifications and message edit typing notifications since they send different events.
This commit is contained in:
@@ -8,10 +8,12 @@ type StreamTopic = {
|
||||
export type Recipient =
|
||||
| {
|
||||
message_type: "direct";
|
||||
notification_event_type: "typing";
|
||||
ids: number[];
|
||||
}
|
||||
| (StreamTopic & {
|
||||
message_type: "stream";
|
||||
notification_event_type: "typing";
|
||||
});
|
||||
type TypingStatusWorker = {
|
||||
get_current_time: () => number;
|
||||
|
||||
Reference in New Issue
Block a user