request := &pbx.SearchQuery{
UserId: "mhub:08f38a9a-48e6-435c-be31-18731d4ac269",
Query: "tags",
}--
You received this message because you are subscribed to the Google Groups "Tinode General" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tinode+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tinode/7a5c469f-0eda-46c0-9e74-7720ab55c399o%40googlegroups.com.
You want to search for email...@example.com or even just al...@example.com
{"public":"email...@example.com"}You want to search for email...@example.com or even just al...@example.com
To unsubscribe from this group and stop receiving emails from it, send an email to tin...@googlegroups.com.
I cleaned up the code by referring to the bi-directional resource you shared earlier. Thank you for that.Referring to your comment:You want to search for email...@example.com or even just al...@example.comI tried a few variations of this to no avail:// Public: []byte(`{"public":"email:al...@example.com"}`),// Public: []byte("al...@example.com"),Could you share the right way of defining this?
To unsubscribe from this group and stop receiving emails from it, send an email to tinode+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tinode/57a380dd-ec4c-41f5-8a61-d90c1c5987a8o%40googlegroups.com.
"email...@example.com"` worked!Received: &{id:"4" topic:"fnd" sub:<updated_at:1587733349014 acs:<> public:"{\"fn\":\"Alice Johnson\",\"photo\":{\"data\":\"/9j/4AAQSkZJRgABAQEASABIAAD/..==\",\"type\":\"jpg\"}}" private:"[\"email:alic....ple.com\"]" user_id:"usrRpP-hz3gYmw" > }The result above is retrieved byMay I know how to retrieve the value of user_id from the above?res.GetMessage()
On Thursday, 20 August 2020 08:35:56 UTC+8, Gene wrote:
On Wed, Aug 19, 2020 at 9:21 AM Yogeswari Narayasamy <yogeswari...@gmail.com> wrote:
I cleaned up the code by referring to the bi-directional resource you shared earlier. Thank you for that.Referring to your comment:
You want to search for email...@example.com or even just al...@example.comI tried a few variations of this to no avail:
// Public: []byte(`{"public":"email:al...@example.com"}`),// Public: []byte("al...@example.com"),
Could you share the right way of defining this?
My result:
To view this discussion on the web visit https://groups.google.com/d/msgid/tinode/57a380dd-ec4c-41f5-8a61-d90c1c5987a8o%40googlegroups.com.
Or does this indicate that I've to run the code multiple times to get the expected result? Because right it works even when I close the web app. Sorry for these questions, they sound weird even to myself.
To unsubscribe from this group and stop receiving emails from it, send an email to tinode+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tinode/85f6cee0-c793-46fb-a4ed-eabd9736b30fo%40googlegroups.com.
You must subscribe to 'fnd' first.
// Public: []byte(`"email...@example.com"`),
To view this discussion on the web visit https://groups.google.com/d/msgid/tinode/85f6cee0-c793-46fb-a4ed-eabd9736b30fo%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to tinode+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tinode/970e238b-2a65-4f30-a11f-772eccab623bo%40googlegroups.com.
Here is what you are doing:id 3: subscribe to fnd and request default resultsid 3: set your search query (you are reusing id 3 which you should not do)id 4: request search results.Then you are getting results. You do not show your log, so I'm guessing:ctrl id=3 confirming subscription to fndmeta id=3 default search results which you call "list of Carol's contacts"ctrl id=3 for your set requestmeta id=4 your expected search results "the result for my keyword search ("mhub:....")"
// Public: []byte(`"email...@example.com"`),
To view this discussion on the web visit https://groups.google.com/d/msgid/tinode/970e238b-2a65-4f30-a11f-772eccab623bo%40googlegroups.com.