Browse Source

Merge branch 'groupimportfix' of cwtch.im/cwtch into master

pull/222/head
erinn Gogs 1 year ago
parent
commit
2ed05dc8cd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      peer/cwtch_peer.go

+ 1
- 1
peer/cwtch_peer.go View File

@@ -112,7 +112,7 @@ func (cp *cwtchPeer) ImportGroup(exportedInvite string) (groupID string, err err
cpp := &protocol.CwtchPeerPacket{}
err = proto.Unmarshal(data, cpp)
if err == nil {
jsobj, err := json.Marshal(cpp.GetGroupChatInvite())
jsobj, err := proto.Marshal(cpp.GetGroupChatInvite())
if err == nil {
cp.eventBus.Publish(event.NewEvent(event.NewGroupInvite, map[event.Field]string{
event.GroupInvite: string(jsobj),


Loading…
Cancel
Save