diff --git a/protocol/connections/engine.go b/protocol/connections/engine.go index 920cb60..51df35a 100644 --- a/protocol/connections/engine.go +++ b/protocol/connections/engine.go @@ -469,7 +469,8 @@ func (e *engine) sendMessageToGroup(server string, ct []byte, sig []byte) error func (e *engine) handlePeerMessage(hostname string, eventID string, context string, message []byte) { log.Debugf("New message from peer: %v %v", hostname, context) if context == event.ContextInvite { - e.eventManager.Publish(event.NewEvent(event.NewGroupInvite, map[event.Field]string{event.TimestampReceived: time.Now().Format(time.RFC3339Nano), event.RemotePeer: hostname, event.GroupInvite: string(message)})) + // TODO: Convert this to an inline peer message... + // e.eventManager.Publish(event.NewEvent(event.NewGroupInvite, map[event.Field]string{event.TimestampReceived: time.Now().Format(time.RFC3339Nano), event.RemotePeer: hostname, event.GroupInvite: string(message)})) } else if context == event.ContextGetVal { var getVal peerGetVal err := json.Unmarshal(message, &getVal)