Initial support for group messages.

153 views
Skip to first unread message

Jani Monoses

unread,
Jan 15, 2015, 5:01:23 PM1/15/15
to textse...@googlegroups.com
Hi,

along with API changes, there is now support for sending and receiving group messages in master.
Creating, updating and leaving groups will require another round of rethinking the exposed API and modification of the implementation.

Jani

Devin Bayer

unread,
Jan 20, 2016, 12:03:24 PM1/20/16
to textsecure-go
Hi,

Thanks for making an alternative to the Java library. I just downloaded the latest master branch and am having trouble sending messages to groups. Here you can see I get a message from a group, but can't reply:

1 18:01:01> textsecure 

DEBU[2016/01/20 18:01:17] PUT /v1/directory/tokens 200

                

                                               Wed 06:01 Devin[Test] Yo

>hi

unknown group ID Test

>Cannot read line from console: EOF

1 18:01:25> textsecure -group -to 'Test' -message 'hi'

DEBU[2016/01/20 18:01:33] PUT /v1/directory/tokens 200

                

unknown group ID Test

1 18:01:33


I thought I'd ask before trying to dive into it myself. Is this supposed to work?

Thanks,
Devin

Jani Monoses

unread,
Jan 20, 2016, 12:32:14 PM1/20/16
to Devin Bayer, textsecure-go
Hello,

It used to work like that until the API started taking group IDs (unique byte strings) as argument instead of the group name. Now it is the more awkward UID you need to pass something like
textsecure -to 637c62239871d3fdaef2331060668cbf -message hello
the UIDs are under .storage/groups/

This needs to be made more convenient I guess, but that client is at the moment mostly for testing the basics of the library and not meant as a full-fledged client.

Jani


--
You received this message because you are subscribed to the Google Groups "textsecure-go" group.
To unsubscribe from this group and stop receiving emails from it, send an email to textsecure-g...@googlegroups.com.
To post to this group, send email to textse...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/textsecure-go/541ef6b4-8507-4ae1-b991-4aefd4c5c18c%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Devin Bayer

unread,
Jan 20, 2016, 12:33:57 PM1/20/16
to Jani Monoses, Devin Bayer, textsecure-go
Reply all
Reply to author
Forward
0 new messages