summaryrefslogtreecommitdiffstats
path: root/matterclient
diff options
context:
space:
mode:
authorWim <wim@42.be>2016-10-23 21:16:14 +0200
committerWim <wim@42.be>2016-10-23 21:16:14 +0200
commit545377742c268f1193246a4005c07b0d7a516eaa (patch)
tree346316e85b7a4cab3e9211dd67cdfa10feed0761 /matterclient
parent47d38192b2e3ed9bacdcda81d4c0282fe60d508a (diff)
downloadmatterbridge-msglm-545377742c268f1193246a4005c07b0d7a516eaa.tar.gz
matterbridge-msglm-545377742c268f1193246a4005c07b0d7a516eaa.tar.bz2
matterbridge-msglm-545377742c268f1193246a4005c07b0d7a516eaa.zip
Drop messages not from our mattermost team. Fixes #49
Diffstat (limited to 'matterclient')
-rw-r--r--matterclient/matterclient.go4
1 files changed, 4 insertions, 0 deletions
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 {