mirror of
https://github.com/cryptonote-social/csminer.git
synced 2024-10-26 05:57:11 +03:00
fix failure to return after chat retrieval error
This commit is contained in:
parent
4d534cbe78
commit
764bd70c18
@ -621,6 +621,7 @@ func GetChats() {
|
||||
resp, err := cl.GetChats(nt)
|
||||
if err != nil {
|
||||
crylog.Error("Failed to retrieve chats:", nt, err)
|
||||
return
|
||||
}
|
||||
cr := &client.GetChatsResult{}
|
||||
err = json.Unmarshal(*resp.Result, cr)
|
||||
|
Loading…
Reference in New Issue
Block a user