Skip to content

Commit

Permalink
Fix CI test
Browse files Browse the repository at this point in the history
  • Loading branch information
chacha912 committed Jul 18, 2023
1 parent ddbec26 commit 8c2b65f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/converter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -741,9 +741,9 @@ function fromPresenceChange<P extends Indexable>(
pbPresenceChange: PbPresenceChange,
): PresenceChange<P> {
const type = pbPresenceChange.getType();
const presence = fromPresence<P>(pbPresenceChange.getPresence()!);

if (type === PbPresenceChange.ChangeType.CHANGE_TYPE_PUT) {
const presence = fromPresence<P>(pbPresenceChange.getPresence()!);
return {
type: PresenceChangeType.Put,
presence,
Expand Down

0 comments on commit 8c2b65f

Please sign in to comment.