I'm not an expert on this but when I have a fish with a similar disease (it ended being other) I read a little about it and it said to feed it boiled peas or vetchs, I don't remember... I'm sure that if you google it you'll find a lot of info on constipation in aquarium fish.
Best of luck.