status-go/protocol/chat_group_proxy.go

10 lines
231 B
Go
Raw Permalink Normal View History

package protocol
import (
v1protocol "github.com/status-im/status-go/protocol/v1"
)
func newProtocolGroupFromChat(chat *Chat) (*v1protocol.Group, error) {
2020-03-09 06:19:23 +00:00
return v1protocol.NewGroupWithEvents(chat.ID, chat.MembershipUpdates)
}