Fix tgp version displayed as NULL in sessions
Set telegram-purple version in app data, to make the correct version show up in the session dialogue.
This commit is contained in:
parent
9208d9b1e9
commit
68b71dae70
1 changed files with 1 additions and 0 deletions
|
@ -594,6 +594,7 @@ static void tgprpl_login (PurpleAccount * acct) {
|
|||
tgl_set_timer_methods (TLS, &tgp_timers);
|
||||
tgl_set_callback (TLS, &tgp_callback);
|
||||
tgl_register_app_id (TLS, TGP_APP_ID, TGP_APP_HASH);
|
||||
tgl_set_app_version (TLS, PACKAGE_VERSION);
|
||||
tgl_init (TLS);
|
||||
|
||||
if (! tgp_startswith (purple_account_get_username (acct), "+")) {
|
||||
|
|
Loading…
Add table
Reference in a new issue