Compatibility summary
You will need a travel adapter in Sri Lanka; plug types used there differ from Thailand.
Plug comparison
Thailand plug types: A B C O
Sri Lanka plug types: G
There is no common plug type between Thailand (A B C O) and Sri Lanka (G). You need a travel adapter.
Voltage comparison
Thailand: 220V, 50Hz
Sri Lanka: 230V, 50Hz
Voltage difference is within a range many devices tolerate; check your appliance label.