Only handle messages as URLs in private chats

This commit is contained in:
Nonoo
2023-08-15 11:40:27 +02:00
parent a5fc1bf49d
commit 392ef01a52
+2
View File
@@ -99,7 +99,9 @@ func handleMsg(ctx context.Context, entities tg.Entities, u *tg.UpdateNewMessage
} }
} }
if fromGroup == nil {
handleCmdDLP(ctx, entities, u, msg) handleCmdDLP(ctx, entities, u, msg)
}
return nil return nil
} }