fix dice
This commit is contained in:
parent
a111cb1323
commit
7cd4cb5646
@ -3493,7 +3493,7 @@ void StickersManager::unregister_dice(const string &emoji, int32 value, FullMess
|
||||
<< source;
|
||||
auto &message_ids = dice_messages_[emoji];
|
||||
auto is_deleted = message_ids.erase(full_message_id);
|
||||
LOG_CHECK(is_deleted) << source << " " << emoji << " " << value << " " << full_message_id;
|
||||
LOG(INFO) << source << " " << emoji << " " << value << " " << full_message_id;
|
||||
|
||||
if (message_ids.empty()) {
|
||||
dice_messages_.erase(emoji);
|
||||
|
Reference in New Issue
Block a user