status-go/protocol/chat_group_proxy.go

10 lines
221 B
Go

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