Uniformize WebSocketMessageType

Change-Id: I26d0f193804773d5835413deb4f4e26d30ea711a
diff --git a/client/src/components/SendMessageForm.tsx b/client/src/components/SendMessageForm.tsx
index c0b9253..e5d2371 100644
--- a/client/src/components/SendMessageForm.tsx
+++ b/client/src/components/SendMessageForm.tsx
@@ -52,13 +52,13 @@
     // We ensure it will stay on at least 4 seconds after the last typed character
     if (currentTime - composingNotificationTimeRef.current > 8000) {
       composingNotificationTimeRef.current = currentTime;
-      webSocket?.send(WebSocketMessageType.SetIsComposing, { conversationId, isWriting: true });
+      webSocket?.send(WebSocketMessageType.ComposingStatus, { conversationId, isWriting: true });
     }
   }, [webSocket, conversationId]);
 
   const notifyStopcomposing = useCallback(() => {
     composingNotificationTimeRef.current = 0;
-    webSocket?.send(WebSocketMessageType.SetIsComposing, { conversationId, isWriting: false });
+    webSocket?.send(WebSocketMessageType.ComposingStatus, { conversationId, isWriting: false });
   }, [webSocket, conversationId]);
 
   const handleSubmit = useCallback(
diff --git a/client/src/contexts/ConversationProvider.tsx b/client/src/contexts/ConversationProvider.tsx
index 3c24896..d518c64 100644
--- a/client/src/contexts/ConversationProvider.tsx
+++ b/client/src/contexts/ConversationProvider.tsx
@@ -105,9 +105,9 @@
     };
 
     webSocket.send(WebSocketMessageType.ConversationView, conversationView);
-    webSocket.bind(WebSocketMessageType.OnComposingStatusChanged, onComposingStatusChanged);
+    webSocket.bind(WebSocketMessageType.ComposingStatus, onComposingStatusChanged);
 
-    return () => webSocket.unbind(WebSocketMessageType.OnComposingStatusChanged, onComposingStatusChanged);
+    return () => webSocket.unbind(WebSocketMessageType.ComposingStatus, onComposingStatusChanged);
   }, [accountId, conversationInfos, conversationId, onComposingStatusChanged, webSocket]);
 
   const value = useMemo(() => {