github.com/status-im/status-go@v1.1.0/protocol/chat_group_proxy.go (about) 1 package protocol 2 3 import ( 4 v1protocol "github.com/status-im/status-go/protocol/v1" 5 ) 6 7 func newProtocolGroupFromChat(chat *Chat) (*v1protocol.Group, error) { 8 return v1protocol.NewGroupWithEvents(chat.ID, chat.MembershipUpdates) 9 }