Edmund Pevensie is wandering and being friendly at random.
It is not quite random. If he gets maleficent vibes from someone he steers clear; if they're obviously not interested he doesn't bother; if they're in an enclave, well, he'll probably meet them at some point anyway. But other than that, he's talking to whoever catches his eye, and if they want him to fuck off he fucks off, and if they don't he doesn't for a while.