ehForwarderBot / efb-telegram-master

EFB Telegram Master Channel, a channel for EH Forwarder Bot.
GNU Affero General Public License v3.0
223 stars 78 forks source link

Recalling message by replying /rm doesn't work #89

Closed catbaron0 closed 4 years ago

catbaron0 commented 4 years ago

We can't recall a message from remote chat by replying /rm to it anymore. Edit the message to `rm`` still works, though. I think it is related to the update that reduce the size of database.

I temporarily fixed it by editing master_message.py:493 from

if not msg_log or msg_log.slave_member_uid == self.db.FAIL_FLAG or not msg_log.pickle:

to

if not msg_log or msg_log.slave_member_uid == self.db.FAIL_FLAG:

but i'm not sure if this fix could cause any other bugs.

blueset commented 4 years ago

Thanks for bringing this up, will fix this in the next release.

blueset commented 4 years ago

Fixed in 2.0.0b37.