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) {
|
2020-03-09 06:19:23 +00:00
|
|
|
return v1protocol.NewGroupWithEvents(chat.ID, chat.MembershipUpdates)
|
2019-11-21 16:19:22 +00:00
|
|
|
}
|