mirror of
https://github.com/tdlight-team/tdlight-telegram-bot-api.git
synced 2024-12-05 01:52:55 +01:00
fix user status empty
This commit is contained in:
parent
411f4b15c5
commit
be24b3caaf
@ -10547,7 +10547,7 @@ void Client::json_store_permissions(td::JsonObjectScope &object, const td_api::c
|
|||||||
void Client::json_store_user_status(td::JsonObjectScope &object, const td_api::UserStatus *userStatus) {
|
void Client::json_store_user_status(td::JsonObjectScope &object, const td_api::UserStatus *userStatus) {
|
||||||
switch (userStatus->get_id()) {
|
switch (userStatus->get_id()) {
|
||||||
case td_api::userStatusEmpty::ID:
|
case td_api::userStatusEmpty::ID:
|
||||||
object("user_status", nullptr);
|
object("user_status", "empty");
|
||||||
break;
|
break;
|
||||||
case td_api::userStatusLastMonth::ID:
|
case td_api::userStatusLastMonth::ID:
|
||||||
object("user_status", "month");
|
object("user_status", "month");
|
||||||
|
Loading…
Reference in New Issue
Block a user