Skip to content

Commit

Permalink
fix checking for all files message
Browse files Browse the repository at this point in the history
  • Loading branch information
Siedlerchr committed Jul 4, 2017
1 parent f9cec01 commit cb9f9ca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ private void parseContents(String message) {
joinDoc(docId);
}

if (message.startsWith("[null,{", ShareLatexParser.JSON_START_OFFSET)) {
if (message.startsWith("[null,{", message.indexOf("+") + 1)) {
System.out.println("We get a list with all files");
//We get a list with all files
Map<String, String> dbWithID = parser.getBibTexDatabasesNameWithId(message);
Expand Down

0 comments on commit cb9f9ca

Please sign in to comment.