fix chat id

This commit is contained in:
vivabelarus 2022-12-03 22:31:44 +03:00
parent 8829e137c0
commit 4065cbcf26
No known key found for this signature in database
GPG key ID: D8D8542F5B70C314

View file

@ -8784,7 +8784,7 @@ public class ProfileActivity extends BaseFragment implements NotificationCenter.
if (userId != 0) {
detailCell.setTextAndValue(String.valueOf(userId), LocaleController.getString("UserId", R.string.UserId), false);
} else if (currentChat != null) {
detailCell.setTextAndValue(String.valueOf(chatId), LocaleController.getString("ChatId", R.string.ChatId), false);
detailCell.setTextAndValue(String.valueOf(-chatId), LocaleController.getString("ChatId", R.string.ChatId), false);
}
}
detailCell.setTag(position);