5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-11-22 12:50:27 +00:00

Optimize GetStatus. (from @recht matterircd fork)

This commit is contained in:
Wim 2017-07-01 23:05:39 +02:00
parent f3e0358de7
commit ba35212b67

View File

@ -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 ""
}