Forums » Project Fedena - Souce code related » (Internal Messaging System SHouldn't allow to send Message to other students)
I'm c++ and java developer but i have a great interest in fedena.
I found it's internal messaging system is allowing a student to messages to other students some institutions don't like it e.g co-educational institutions so i wish to fix this problem.
I don't have understanding of the RoR but i had though a lot and tried to understand a lot the code.
I think this can be done by one of the following ways
-making extra user and recipient or a status variable in controller.

-in function of sending message introducing a check if sender and receiver both are students update "You don't have permission" else send message.

-we can have a check on view if user is student then don't render him student recepniost part to select from.

i want your help to translate this in fedena i will be grateful to you.
waiting for your kind reply
Thanks
Muzammil Husnain