janimo / textsecure

TextSecure client package for Go
GNU General Public License v3.0
129 stars 26 forks source link

Recieving messages #4

Closed onny closed 9 years ago

onny commented 9 years ago

Hey, your implementation looks really interesting and I'm looking forward to use this as a library. I could successfully sent a message to a friend using your command line tool!

I would like to use something like "-l" for listening to incoming messages?

Thank you!

janimo commented 9 years ago

If you start the tool it will listen by default unless you pass it --message or --attachment in which case it exits after a send.

elimisteve commented 9 years ago

@onny Did you do anything special to re-register your phone so you could send and receive TextSecure messages again? Once I registered with the textsecure command line program, I was unable to send and receive texts on my phone. Thank you!

janimo commented 9 years ago

You need to reregister indeed or use another number for playing with textsecure (a free wilio one for example)

elimisteve commented 9 years ago

@janimo Is the only way to reregister on the phone by uninstalling and reinstalling? (Right now I'm looking into how to back up my private key and not just my texts, thanks.)

janimo commented 9 years ago

In android there's a toggle in settings/advanced.

janimo commented 9 years ago

you could also google to see how others deal with backup/resinstalls, I did not need this so I cannot help.

elimisteve commented 9 years ago

@janimo Top-right drop-down > Advanced > Disabling "TextSecure messages" (which warns of the de-registration), then going back and re-enabling "TextSecure messages" indeed did the trick! Thanks!

elimisteve commented 9 years ago

@janimo In the future, hopefully it'll be possible to be "logged in" as the same user/phone numbers on multiple devices at the same time, so I can basically use textsecure as a chat client. Do you know if this is supported by the protocol?