Skip to content

Commit

Permalink
Merge branch 'devel' of https://github.com/tinode/chat into devel
Browse files Browse the repository at this point in the history
  • Loading branch information
or-else committed Dec 7, 2022
2 parents 923d581 + 5b3e275 commit 0f198e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ fi

echo "Releasing $version"

GOSRC=${GOPATH}/src/github.com/tinode
GOSRC=..

pushd ${GOSRC}/chat > /dev/null

Expand Down
6 changes: 3 additions & 3 deletions server/plugins.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,10 @@ func ParsePluginFilter(s *string, filterBy int) (*PluginFilter, error) {
}

// PluginRPCFilterConfig filters for an individual RPC call. Filter strings are formatted as follows:
// <comma separated list of packet names> : <comma separated list of topics or topic types> : <actions (combination of C U D)>
// <comma separated list of packet names> ; <comma separated list of topics or topic types> ; <actions (combination of C U D)>
// For instance:
// "acc,login::CU" - grab packets {acc} or {login}; no filtering by topic, Create or Update action
// "pub,pres:me,p2p:"
// "acc,login;;CU" - grab packets {acc} or {login}; no filtering by topic, Create or Update action
// "pub,pres;me,p2p;"
type pluginRPCFilterConfig struct {
// Filter by packet name, topic type [or exact name - not supported yet]. 2D: "pub,pres;p2p,me"
FireHose *string `json:"fire_hose"`
Expand Down

0 comments on commit 0f198e6

Please sign in to comment.