Skip to content
This repository has been archived by the owner on Jan 31, 2021. It is now read-only.

Commit

Permalink
fixed catchup message processing (#36)
Browse files Browse the repository at this point in the history
Resolves #16
  • Loading branch information
David authored Apr 16, 2020
1 parent 3a5f7dc commit 2642a24
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class ReceivedMessageUtility {
return new ServerTimeMessage(messageContentMap['value']);
}
if (messageContentMap['value'] is Map) {
if (messageContentMap.containsKey('videoId')) {
if (messageContentMap['value'].containsKey('videoId')) {
return new VideoIdAndMessageCatchupMessage(messageContentMap['value']);
}
}
Expand Down

0 comments on commit 2642a24

Please sign in to comment.