diff options
-rw-r--r-- | store.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -86,8 +86,10 @@ static bool filter(struct TdMessage *msg) { struct TdMessageForwardOriginChannel *chan = (struct TdMessageForwardOriginChannel *) origin; if (chan->chat_id_ != -1001304761546 && - chan->chat_id_ != -1001565681839) - return false; + chan->chat_id_ != -1001565681839) { + if (!chan->author_signature_ || + strcmp(chan->author_signature_, "ksyx") != 0) return false; + } break; } case CODE_MessageForwardOriginHiddenUser: { |