summaryrefslogtreecommitdiffstats
path: root/matterclient
diff options
context:
space:
mode:
Diffstat (limited to 'matterclient')
-rw-r--r--matterclient/matterclient.go2
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 ""
}