server_events_dispatch: Throw from "subscription" based on event.op.

This commit is contained in:
YashRE42
2020-06-20 19:14:09 +00:00
committed by Tim Abbott
parent d89c405074
commit bc69521caa
2 changed files with 9 additions and 0 deletions

View File

@@ -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":