Purple berries of fire- Mishmi Hills

What should you eat if you are dehydrated in the remote Mishmi Hills of Arunachal Pradesh? I found out the hard way with the help of a local and some purple berries.