Skip to content

Commit f734c00

Browse files
committed
fix: add return statement to prevent further processing when destination is None
1 parent 5459e7f commit f734c00

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

efb_telegram_master/master_message.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ def msg(self, update: Update, context: CallbackContext):
166166
self.logger.debug("[%s] Chat %s is singly-linked to %s, but the thread ID is not matching.", mid, message.chat, destination)
167167
destination = None
168168
quote = False
169+
return
169170

170171
if destination is None:
171172
if message.chat.is_forum:

0 commit comments

Comments
 (0)