From 545377742c268f1193246a4005c07b0d7a516eaa Mon Sep 17 00:00:00 2001 From: Wim Date: Sun, 23 Oct 2016 21:16:14 +0200 Subject: Drop messages not from our mattermost team. Fixes #49 --- matterclient/matterclient.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'matterclient') diff --git a/matterclient/matterclient.go b/matterclient/matterclient.go index 1bac634e..37530480 100644 --- a/matterclient/matterclient.go +++ b/matterclient/matterclient.go @@ -576,6 +576,10 @@ func (m *MMClient) GetStatus(userId string) string { return "offline" } +func (m *MMClient) GetTeamId() string { + return m.Team.Id +} + func (m *MMClient) StatusLoop() { for { if m.WsQuit { -- cgit v1.2.3