Skip to content

Commit 8d62ea0

Browse files
chrisbobbegnprice
authored andcommitted
typing model: Don't reset on DEAD_QUEUE
We don't clear other server data on DEAD_QUEUE, plus there's already a client-side component that makes this feature fail gracefully in the presence of stale server data (a timeout to clear typing indicators). Fixes-partly: #5605
1 parent 32f3fc9 commit 8d62ea0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/typing/typingReducer.js

-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import {
44
EVENT_TYPING_START,
55
EVENT_TYPING_STOP,
66
CLEAR_TYPING,
7-
DEAD_QUEUE,
87
RESET_ACCOUNT_DATA,
98
REGISTER_COMPLETE,
109
} from '../actionConstants';
@@ -96,7 +95,6 @@ export default (
9695
case CLEAR_TYPING:
9796
return clearTyping(state, action);
9897

99-
case DEAD_QUEUE:
10098
case RESET_ACCOUNT_DATA:
10199
return initialState;
102100

0 commit comments

Comments
 (0)