Skip to content

Commit e4206f6

Browse files
committed
Update bitwise value for HAS_STATE flag
`HAS_STATE` flag was to moved to attach flags in [1]. [1] ably/realtime#7230
1 parent 706d4ba commit e4206f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/lib/types/protocolmessage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,14 @@ const flags: { [key: string]: number } = {
5050
RESUMED: 1 << 2,
5151
TRANSIENT: 1 << 4,
5252
ATTACH_RESUME: 1 << 5,
53+
HAS_STATE: 1 << 7,
5354
/* Channel mode flags */
5455
PRESENCE: 1 << 16,
5556
PUBLISH: 1 << 17,
5657
SUBSCRIBE: 1 << 18,
5758
PRESENCE_SUBSCRIBE: 1 << 19,
5859
OBJECT_SUBSCRIBE: 1 << 24,
5960
OBJECT_PUBLISH: 1 << 25,
60-
HAS_STATE: 1 << 26,
6161
};
6262
const flagNames = Object.keys(flags);
6363
flags.MODE_ALL =

0 commit comments

Comments
 (0)