(id string)
| 87 | } |
| 88 | |
| 89 | func GetChat(id string) (*Chat, error) { |
| 90 | owner, name, err := util.GetOwnerAndNameFromIdWithError(id) |
| 91 | if err != nil { |
| 92 | return nil, err |
| 93 | } |
| 94 | return getChat(owner, name) |
| 95 | } |
| 96 | |
| 97 | func UpdateChat(id string, chat *Chat) (bool, error) { |
| 98 | owner, name, err := util.GetOwnerAndNameFromIdWithError(id) |
no test coverage detected