2019-11-21 16:19:22 +00:00
|
|
|
package protocol
|
|
|
|
|
|
|
|
import (
|
|
|
|
v1protocol "github.com/status-im/status-go/protocol/v1"
|
|
|
|
)
|
|
|
|
|
|
|
|
func newProtocolGroupFromChat(chat *Chat) (*v1protocol.Group, error) {
|
2019-12-02 15:34:05 +00:00
|
|
|
return v1protocol.NewGroup(chat.ID, chat.MembershipUpdates)
|
2019-11-21 16:19:22 +00:00
|
|
|
}
|