Select conversation by other than "conversation id"

Issue #3 closed
Former user created an issue

Typing in the "conversation id" is terribly long and tedious. There must be a better way. However, it must uniquely select each conversation.

Using "participants" is another unique identifier for each conversation, but it can be just as long and tedious. And if the participant name uses characters from a character set (such as Chinese characters on an English computer), the characters will be freaky and nearly untypable in a Windows command window.

However, it would be possible to enumerate each conversation and allow the user to select the conversation by a single number. Numbers are universal to all languages and very easy to identify and type.

Comments (3)

  1. Fabian Grisanti repo owner

    Thanks for the feedback.

    Currently the call looks like this python hangouts.py path/to/Hangouts.json -c UgzpubtSJwYEm3wMzVZ4AaA4AQ

    I am thinking about allowing to short the call to python hangouts.py path/to/Hangouts.json -c Ugzpu or python hangouts.py path/to/Hangouts.json -c Ugz as long as the identifier is unique.

    This would be comparable to git, where IDs can be shortened in the very same way.

    Git is smart enough to figure out what commit you meant to type if you provide the first few characters, as long as your partial SHA-1 is at least four characters long and unambiguous — that is, only one object in the current repository begins with that partial SHA-1.

    See: Git Tools Revision Selection

    Please be patient as I have little time at the moment. I will work on it ASAP.

  2. Fabian Grisanti repo owner

    Okay faster than assumed I have implemented the function as mentioned above. Please see the development branch (git checkout development), which allows now shortened versions of the conversation id.

    Please let me know if something does not work as expected. See: 695ef52

  3. Log in to comment