vysheng / tg

telegram-cli
GNU General Public License v2.0
6.48k stars 1.53k forks source link

Can I display username after receiving new message? #517

Open Znack opened 9 years ago

Znack commented 9 years ago

When new message comes telegram-cli display something like:

[19:15]  Sergey Cherepanov ««« Text of my message

Can I somehow display my, not username in this output

[19:15]  user#123456789 ««« Text of my message

Thanks.

vysheng commented 9 years ago

Is --disable-names is what you want?

(it is in test branch. In master branch there was -I key for same purpose)

Znack commented 9 years ago

Unfortunately I'm not able to launch the current version and I use tag 1.0.5.1 that works pretty well :) When I start current stable version it doesn't ask me for auth data and therefore I can't send and receive any message:

$ telegram-cli
Telegram-cli version 1.2.0, Copyright (C) 2013-2015 Vitaly Valtman
Telegram-cli comes with ABSOLUTELY NO WARRANTY; for details type `show_license'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show_license' for details.
Telegram-cli uses libtgl version 1.2.0
I: config dir=[/home/tochium/.telegram-cli]
> 
LukeLR commented 9 years ago

Does .telegram-cli-folder already exist? The you should try deleting (or renaming to e.g. .telegram-cli_old) that folder

On 11 May 2015, at 5:54 pm, Sergey Cherepanov notifications@github.com wrote:

Unfortunately I'm not able to launch the current version and I use tag 1.0.5.1 that works pretty well :) When I start current stable version it doesn't ask me for auth data and therefore I can't send and receive any message:

$ telegram-cli Telegram-cli version 1.2.0, Copyright (C) 2013-2015 Vitaly Valtman Telegram-cli comes with ABSOLUTELY NO WARRANTY; for details type show_license'. This is free software, and you are welcome to redistribute it under certain conditions; typeshow_license' for details. Telegram-cli uses libtgl version 1.2.0 I: config dir=[/home/tochium/.telegram-cli]

— Reply to this email directly or view it on GitHub.

Znack commented 9 years ago

@LukeLR do you mean .telegram-cli in my home directiory? I tried to remove it a number of times, it doesn't help :)

LukeLR commented 9 years ago

Yep, that's what I meant, I thought that it could possibly created by another version of telegram and that it can't read that files

On 11 May 2015, at 6:26 pm, Sergey Cherepanov notifications@github.com wrote:

@LukeLR do you mean .telegram-cli in my home directiory? I tried to remove it a number of times, it doesn't help :)

— Reply to this email directly or view it on GitHub.

Znack commented 9 years ago

Yeah, it was my first though too :) But thanks for help anyway.