Fixed some mismatch after rebase

This commit is contained in:
Jongyoul Lee 2016-08-09 00:09:14 +09:00
parent 9a03d40d0e
commit 012cf993b8

View file

@ -473,7 +473,8 @@ public class NotebookServer extends WebSocketServlet implements
List<String> settingIdList = gson.fromJson(String.valueOf(
fromMessage.data.get("selectedSettingIds")), new TypeToken<ArrayList<String>>() {
}.getType());
notebook().bindInterpretersToNote(noteId, settingIdList);
AuthenticationInfo subject = new AuthenticationInfo(fromMessage.principal);
notebook().bindInterpretersToNote(subject.getUser(), noteId, settingIdList);
broadcastInterpreterBindings(noteId,
InterpreterBindingUtils.getInterpreterBindings(notebook(), noteId));
} catch (Exception e) {