mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 05:53:43 +00:00
server_events_dispatch: Throw from "subscription" based on event.op.
This commit is contained in:
@@ -471,6 +471,9 @@ export function dispatch_normal_event(event) {
|
||||
case "update":
|
||||
stream_events.update_property(event.stream_id, event.property, event.value);
|
||||
break;
|
||||
default:
|
||||
blueslip.error("Unexpected event type subscription/" + event.op);
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case "typing":
|
||||
|
||||
Reference in New Issue
Block a user