diff options
author | Wim <wim@42.be> | 2017-07-01 23:05:39 +0200 |
---|---|---|
committer | Wim <wim@42.be> | 2017-07-01 23:05:39 +0200 |
commit | ba35212b673088be4096d25043094e3fb7a0d3ee (patch) | |
tree | 7abfa40aef842892f3f12c10eb4e6606e626f743 /matterclient | |
parent | f3e0358de7720dca350f2d9955827707d4810f51 (diff) | |
download | matterbridge-msglm-ba35212b673088be4096d25043094e3fb7a0d3ee.tar.gz matterbridge-msglm-ba35212b673088be4096d25043094e3fb7a0d3ee.tar.bz2 matterbridge-msglm-ba35212b673088be4096d25043094e3fb7a0d3ee.zip |
Optimize GetStatus. (from @recht matterircd fork)
Diffstat (limited to 'matterclient')
-rw-r--r-- | matterclient/matterclient.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/matterclient/matterclient.go b/matterclient/matterclient.go index 1dcab802..91795b37 100644 --- a/matterclient/matterclient.go +++ b/matterclient/matterclient.go @@ -684,7 +684,7 @@ func (m *MMClient) GetUserName(userId string) string { } func (m *MMClient) GetStatus(userId string) string { - res, err := m.Client.GetStatuses() + res, err := m.Client.GetStatusesByIds([]string{userId}) if err != nil { return "" } |