status-go/protocol/chat_group_proxy.go
2020-03-09 07:19:23 +01:00

10 lines
231 B
Go

package protocol
import (
v1protocol "github.com/status-im/status-go/protocol/v1"
)
func newProtocolGroupFromChat(chat *Chat) (*v1protocol.Group, error) {
return v1protocol.NewGroupWithEvents(chat.ID, chat.MembershipUpdates)
}