status-go/protocol/chat_group_proxy.go

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)
}