Yep, you still need to go through the whole getting the sleeping powder step but do not take the journal. Afterwards, when you talk to him again there will be 2 choices that lead to either of those endings.