Fix CE and warning.
GitOrigin-RevId: 64989213b16f2450678a49e69f3f77d065cb6369
This commit is contained in:
parent
809b28aa4a
commit
2f2c09bf58
@ -1519,7 +1519,7 @@ static Result<vector<MessageEntity>> do_parse_markdown_v2(CSlice text, string &r
|
|||||||
// begin of an entity
|
// begin of an entity
|
||||||
MessageEntity::Type type;
|
MessageEntity::Type type;
|
||||||
string argument;
|
string argument;
|
||||||
int32 entity_byte_offset = i;
|
auto entity_byte_offset = i;
|
||||||
switch (c) {
|
switch (c) {
|
||||||
case '_':
|
case '_':
|
||||||
if (text[i + 1] == '_') {
|
if (text[i + 1] == '_') {
|
||||||
|
@ -2441,7 +2441,7 @@ StickerSetId StickersManager::get_sticker_set(StickerSetId set_id, Promise<Unit>
|
|||||||
const StickerSet *sticker_set = get_sticker_set(set_id);
|
const StickerSet *sticker_set = get_sticker_set(set_id);
|
||||||
if (sticker_set == nullptr) {
|
if (sticker_set == nullptr) {
|
||||||
if (set_id.get() == GREAT_MINDS_SET_ID) {
|
if (set_id.get() == GREAT_MINDS_SET_ID) {
|
||||||
do_reload_sticker_set(set_id, make_tl_object<telegram_api::inputStickerSetID>(GREAT_MINDS_SET_ID, 0),
|
do_reload_sticker_set(set_id, make_tl_object<telegram_api::inputStickerSetID>(set_id.get(), 0),
|
||||||
std::move(promise));
|
std::move(promise));
|
||||||
return StickerSetId();
|
return StickerSetId();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user