From d305d15b6dde99b0de7fc78242aaa095fc79b5ca Mon Sep 17 00:00:00 2001
From: Kamil Trzcinski <ayufan@ayufan.eu>
Date: Tue, 20 Dec 2016 11:32:42 +0100
Subject: [PATCH] Fix Mattermost client

---
 lib/mattermost/client.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/mattermost/client.rb b/lib/mattermost/client.rb
index 2a0e4b400d3..8bbb2038772 100644
--- a/lib/mattermost/client.rb
+++ b/lib/mattermost/client.rb
@@ -9,7 +9,7 @@ module Mattermost
     private
 
     def with_session(&blk)
-      Session.new(user).with_session(&blk)
+      Mattermost::Session.new(user).with_session(&blk)
     end
 
     def json_get(path, options = {})
-- 
GitLab